Last active
September 8, 2017 17:46
-
-
Save MuriloMazzeu/fad4b09ae9f4f150c2181ca8c5fc273f to your computer and use it in GitHub Desktop.
Android's CLI
This file contains 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
keytool -genkey -v -keystore PATH_TO/MYAPP.KEYSTORE -alias MYAPP_ALIAS -keyalg RSA -keysize 2048 -validity 100000 | |
jarsigner -sigalg SHA1withRSA -digestalg SHA1 -keystore PATH_TO/MYAPP.KEYSTORE PATH_TO/MY_UNSIGNED_RELEASE.APK MYAPP_ALIAS | |
zipalign -f -v 4 PATH_TO/MY_UNSIGNED_RELEASE.APK PATH_TO/MY_SIGNED_RELEASE.APK |
This file contains 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
adb shell pm setInstallLocation 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment