[Android Studio authoritative tutorial] packaging, generating jks keys, signing Apk, and multi-channel Packaging
In the previous article, we talked about multi-channel packaging. When we used the signature file in eclipse, the. keystore file is the. jks file in Android Studio. How can we generate this file? This is a supplement in the previous article.
Generate a jks signature file
Select Build> Generate Signed APK...
Select project app> Next
Select Create new...
Select the path of the signature file. The information is the same as that of eclipse. after entering the information, click OK.
Select Next <喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> Vcd4nc1_vymxvy2txdw90zt4ncjxwpjxpbwcgywx0pq = "here write picture description" src = "http://www.bkjia.com/uploads/allimg/150914/040I5H92-4.png" title = "\"/>
We will perform the test here and select qihu360 and xiaomi to package the release version. Finally, click Finish.
Waiting for Generation
After the file is generated, you are prompted to view the file in the folder.
We can see that the two apk files have been generated. Now let's test them.
Install Xiaomi version
To test qihu360, uninstall xiaomi first. Because the registration is the same as the version number, only one
Finally, modify the signature configuration in the previous article, and then re-package the signature.
Choose assumerelease and click Run.
Check the test after packaging.