You must use the same keystore every time you update your app. This is fine since you built the apk you know where it came from. In addition to installing the games and applications available in. while installing you may get a warning that play-protect does not recognize the organization. Allows users to freely experience HOT applications and games that their phones do not support. C:\Users\yourusername\AppData\Local\Android\Sdk\build-tools\versionnumber\zipalign -v 4 app-release-unsigned.apk Īfter doing these three steps you can now install on your phone/bluestacks/etc. zipalign comes with the android sdk when installing android studio. To finish up we need to run zipalign this will generate the final apk file. or add the jdk bin folder to your system paths keytool -genkey -v -keystore myquasar-release-key.keystore -alias myquasar-release -keyalg RSA -keysize 2048 -validity 20000Īfter creating the keystore you have to sign the apk with jarsigner which also comes with the java jdk jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore c:\dev\android\keys\myquasar-release-key.keystore app-release-unsigned.apk myquasar-release Note: you may have to type the full path to run keytool, and jarsigner. I would suggest running the command where you want to store the keystore for example from c:\dev\android\keys\ Keytool is located in your java jdk folder the following example will generate a keystore. Locate the app from the 'All apps' list and click on it. Clear the app cache: Open the 'System apps' folder from the home screen of BlueStacks. Restart BlueStacks and launch the app again. You have to use keytool to generate a keystore first. Locate the app from the 'All apps' list and click on it. The reason it wouldn't install was the apk not being signed.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |