Android Studio generates the signed APK

Source: Internet
Author: User

Android Studio generates the signed APK

After opening the project, click the project, select the Build menu, and then select Generate Signed APK, as shown in:

Open the generate dialog box:

Select Create new... to generate a new Key. The new Key dialog box is displayed:

First, select the Key storage path.

There may be a BUG. In the pop-up select keystore file dialog box, you must first enter the File name, such as ''. The file suffix name remains unchanged. Then change the Save path (otherwise the name cannot be entered ).

The final path may be like this:E:CODE_ALL_GIT_ALLcncounter-androidkey_storecncounter-android-key.jks

Next, enter the password. It is recommended that it be neither too simple nor too complex. The password in this example is:

cncounter-android

For simplicity, all passwords are set to the same one:

cncounter-android

The validity period is 25 years by default to support your entire APP cycle.

Country Code (XX) should be CN, as shown in:

Click OK to return to the generation page.

Select Remember password and click Next.

If you enter password protection in the pop-up window, you can leave it blank and do not use this protection.

Click OK to go to the next step:

Select release as the release version and debug as the debug version. Select release and click "finish.

Then you will be notified that the generation is complete. You can choose to view it:

The generated aPK is as follows:

You only need to select Generate Signed APK from the Build menu. As shown in:

Because I chose to remember the password last time, I do not need to remember the password here.

Then proceed.

 

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.