Android Studio Signature

Source: Internet
Author: User

Androidstudio will give the default buildtype for the debug package signature, so you can run the install APK directly to the phone, if we add the BuildType (such as User,eng), then the direct operation will say no signature, not installed.


Signature steps:

In the directory where you need to save the signature file (for example, to sign the test project, you will normally go to the build-apk in the test directory)

Run:

keytool-genkey-alias user_key. Keystore-keyalg rsa-validity 20000 -keystore userkey. KeyStore

(where User_key is your custom file name, 20000 is the expiration date)

After running, "program Keytool" may appear in the following packages: Gcj-4.6-jre-headless,......

Then run the sudo apt-get install GCJ first-......


Enter key Store password:android (password, not less than 6 digits)

Enter Key password for <user_key.keystore>:android (password, I was casually written)

Common name:android

(I've all entered Android)


When you are done, the Userkey.keystore is generated under BUILD-APK (your custom directory).

Welcome everyone to visit my personal website Meng Meng's IT People

Android Studio Signature

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.