Android Studio Build apk

Source: Internet
Author: User

1. Menu Build->generate signed APK

2, Generate Android.keystore, can be based on the box to create new one, you can also use the command to generate the android.keystore file

Now, let's introduce the following command:

Enter the bin directory first:

Cd/applications/android\ Studio.app/contents/bin

Run the following command :

Keytool-genkey-alias android.keystore-keyalg rsa-validity 30000-keystore android.keystore

(-validity 30000 represents the number of days of validity), and when the command is completed, the Android.keystore is generated in the bin directory


3, select Choose Existing in the box, select the Android.keystore file in the bin directory

This will generate the APK.



Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Android Studio Build apk

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.