![]() ![]() zipalign.exe -v 4 apps/app-release-signed.apk apps/app-release-signed-zipaligned.apk Run the following command in directory ” /path/to/Android/sdk/build-tools/VERSION/ ” to zip align the apk.” /path/to/Android/sdk/build-tools/VERSION/” and copy the generated apk in step 5 in the created apps folder. ![]() To avoid path errors, create a folder “ apps” in specified directory i.e. Zip align tool is available at “ /path/to/Android/sdk/build-tools/VERSION/zipalign“. Finally, we need to optimize the apk using zip align tool.It’s a good idea to rename the file now to “app-release-signed.apk” because now it’s signed. Jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore build/outputs/apk/release/app-release-unsigned.apk alias_name This will be done through “ jarsigner” tool (which is included in JDK) Next step is to sign the apk with the generated key. Now, we have the unsigned apk and the key.If you lose this key, you won’t be able to upload app updates. Replace the “ my-release-key.keystore” and “ alias_name” with your desired names.Įnter the required information like Password, First
0 Comments
Leave a Reply. |