An assisting windows batch script to work with the apktool. It can be used with decoding, building, and signing an apk using the generated apk.
The apktool is available on the GitHub as an Open Source project at http://ibotpeaches.github.io/Apktool/
- Just open the apkworks.bat
- Choose the required mode
- Decode
- Build
- Sign
- Generate key
- ZipAlign
- Signing and Key-generation requires Java JDK
- During the latter two modes, the tool will ask you for JDK path
- The rest is as easy as choosing an option
- The rebuild app is saved as app.apk
- The Zip-Aligned app is saved as app-final.apk
###Decoding
apktool -c decode "apkname.apk" [-o "outputfolder"]
or
apktool -c d "apkname.apk" [-o "outputfolder"]
###Building
apktool -c build "appfolder" -o appname.apk
or
apktool -c b "appfolder" -o appname.apk
###Signing
apktool -c sign "apkname.apk" "my-release.keystore" aliasname Password
or
apktool -c s "apkname.apk" "my-release.keystore" aliasname Password
###ZipAligning
apktool -c zipalign "app.apk" "zipaligned-app.apk"
- Zip Align added
- Command line support added