How Android Studio develops Android app signing

Source: Internet
Author: User
<span id="Label3"><p>1. Generate KeyStore using the tool that comes with the JDK</p><p>Use the cmd command line to enter the bin directory of the JDK (for example: C:\Program Files\java\jdk1.7.0_01\bin)</p><p>Run the following command:</p><p>C:\Program Files\java\jdk1.7.0_01\bin>keytool-genkey-alias Asaiandroid.keystor<br>E-keyalg rsa-validity 365-keystore Asaiandroid.keystore</p><p>In the DOS interface will prompt you to enter the name, region, work units and other personal information, follow the prompts to fill in.</p><p></p><p></p><p></p><p>After execution, the KeyStore file is automatically generated in the bin Directory.</p><p>#说明:<br>#-genkey Generate key<br>#-alias asaiandroid alias Asaiandroid<br>#-keyalg RSA uses RSA algorithm to encrypt signature<br>#-validity 365 Expiry 365 days</p><p>2. Open Android Studio and find the generate signed APK in the Build tab</p><p></p><p>After opening, see the following interface</p><p></p><p>Since KeyStore has been created, we chose choose existing to find the KeyStore file in the bin Directory.</p><p>Fill in the password, next</p><p></p><p>Select Release releases, Finish</p><p>3. Select the Build tab in the build apk</p><p></p><p>Wait a few seconds and you'll be prompted in the top right corner.</p><p></p><p>Click Show in explore to view the signed apk file.</p><p></p><p>Complete!</p><p></p><p>How Android Studio develops Android app signing</p></span>

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.