Then upload four apk we have been rebuild and resign, this is result Then go to Google Play Console and update our apk files, click Manage release and then Manage production To resign we must run two command. At the present time, I use jdk 1.8.121 and build tool 25.0.2ģ.1 C:\java-jdk-121\\bin\jarsigner.exe -verbose -keystore “YOUR_PATH _TO_KEYSTORE_FILE” -storepass YOUR_STORE_PASS -keypass YOUR_KEY_PAS “YOUR_PATH_TO_REBUILD_APK_FILE” YOUR_ALIAS_KEYSTOREĮxample: C:\java-jdk-121\\bin\jarsigner.exe -verbose -keystore “G:\Mobile-App\MYANDROID.keystore” -storepass mykeystore12345 -keypass mykeystore12345 G:\apkrebuild\arm\apktool.yml\dist\vn.myapp-armeabi.apk myaliaskeystorenameģ.2 Create resign folder to store our resign apk file then run this command: C:\android-sdk\build-tools\25.0.2\zipalign.exe -v 4 “YOUR_PATH_TO_REBUILD_APK_FILE” “YOUR_PATH_TO_RESING_APK_FILE”Įxample: C:\android-sdk\build-tools\25.0.2\zipalign.exe -v 4 G:\apkrebuild\arm\apktool.yml\dist\vn.myapp-armeabi.apk G:\apkrebuild\arm\apktool.yml\resignapk\vn.myapp-armeabi.apkīellow is three step to rebuild apk with ARM CPU architecture, and the same with another CPU architecture. After rebuild, we must resign our apk with google play console keystore. Save and go to next step, but remember if your current version code is: X, next release ARM must be X+1, ARM-v7a must be X+2, ARM64-v8a must be X+3, x86 must be X+4, if not Google Play Console will be warning with your apks.Īpktool.jar b “YOUR_APK_REBUILD_PATH”, example: apktool.jar b G:\apkrebuild\arm\apktool.yml, after rebuild, our rebuild apk file will be store in folder dist.ģ. Wait some minutes and we will seeĮdit this file with version code if you want Run this command: apktool.jar d “YOUR_APK_PATH_FOLDER” -o “YOUR_APK_REBUILD_PATH”, etc: apktool.jar d G:\apkbuild\arm\ -o G:\apkrebuild\arm\apktool.yml. Then run Command Prompt with administrator mode.ġ. Put apktoolkit.jar and apktoolkit.bat to the same folderĪdd this folder path to your computer enviroment So we must edit version code, recompile and resign them.įirst, download and install lastest apk tool at this. We can see a largest file with support multi cpu architecture, and four file apk with specific cpu architechture support, we can upload four file apk to Google Play Store but Visual Studio (and Xamarin Studio) generate this four file with large version code allow timespan.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |