Android Question unpack / pack .apk

hanyelmehy

Active Member
Licensed User
Longtime User
i want to make simple browser app that displays html files from /assets in a full screen WebView.
The idea is , Any user can change those scripts himself without need of recompiling the APK.

i try simply to :
Rename .apk to .zip
Extract .zip
Zip the folder to .zip
Rename to .apk

once my phone tries to install the new APK, a problem arises related to parsing
any recommendation to make above procedure correctly
 

sorex

Expert
Licensed User
Longtime User
I'm not sure if that would work since the package gets signed or something.
 
Upvote 0

lemonisdead

Well-Known Member
Licensed User
Longtime User
The best way in my opinion is to provide the same apk for all which will load the different resources from an external archive or directory
 
Upvote 0

susu

Well-Known Member
Licensed User
Longtime User
i want to make simple browser app that displays html files from /assets in a full screen WebView.
The idea is , Any user can change those scripts himself without need of recompiling the APK.

i try simply to :
Rename .apk to .zip
Extract .zip
Zip the folder to .zip
Rename to .apk

once my phone tries to install the new APK, a problem arises related to parsing
any recommendation to make above procedure correctly

You choose the hardest way but if you still want to do it. Try apk-signer (link)
It's easier to do with Lemonisdead's way.
 
Upvote 0
Top