[Android Studio authoritative tutorial] packaging, generating jks keys, signing Apk, and multi-channel Packaging

Source: Internet
Author: User

[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.

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.