Last active
September 15, 2020 21:24
-
-
Save samuelbezerrab/d0d6e436985fd61a324bb8e61e820b03 to your computer and use it in GitHub Desktop.
Repack android APK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #### Install APK tool | |
| `brew install apktool` | |
| #### Depack the apk | |
| `apktool d app-release.apk -o extracted_apk` | |
| #### Change whatever you want inside the created apk | |
| `code extracted_apk` | |
| #### Repack the apk | |
| `apktool b extracted_apk -o app-release-mod.apk` | |
| #### Sign the apk with the original key | |
| Download the jar here: [https://github.com/patrickfav/uber-apk-signer](https://github.com/patrickfav/uber-apk-signer) | |
| `java -jar uber-apk-signer-1.1.0.jar -a app-release-mod.apk --ks /path/to/key.jks --ksAlias key --ksKeyPass <<password>> --ksPass <<password>> -o app-release-mod-signed` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment