[Android Studio authoritative tutorial] packaging, generating jks keys, signing Apk, multi-channel packaging, jksapk
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
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.
We have tested the [multi-channel packaging] in the previous article. We will not test it here. If you have any questions, please reply. Thank you for your support.
If you are interested, you can follow my Blog. My column will continue to update [Android Studio authoritative tutorial] And the NDK configuration and compilation at the 2015 I/O conference, I will share it with you all.
I also received an invitation from CSND's lecturer. Later I will record these Android Studio tutorials as videos.
/*** -------------- * Welcome to reprint | reprinted please note * -------------- * if it is helpful to you, please click | top | * -------------- * Please keep humble | you will go further * -------------- * @ author zsl * @ github https://github.com/yy1300326388 * @ blog http://blog.csdn.net/yy1300326388 */
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.