Created
February 20, 2015 16:14
-
-
Save benvium/5923d50c30ab7c7df0f3 to your computer and use it in GitHub Desktop.
Revisions
-
benvium renamed this gist
Feb 20, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
benvium created this gist
Feb 20, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ This requires the latest version of apktool. ``` apktool d $APK_PATH -o $OUTPUT_FOLDER # Open the apktool.yml text file # Alter the versionCode and versionName entries # now rebuild! apktool build $OUTPUT_FOLDER # next you need to re-sign the apk with the original keystore file jarsigner -verbose -keystore $KEYSTORE_PATH -storepass $KEYSTORE_PASSWORD -keypass $KEYSTORE_KEY_PASSWORD $APK_PATH $KEYSTORE_KEY_NAME ~/android-sdk/build-tools/21.1.1/zipalign -v 4 $APK_PATH $APK_OUT_PATH ```