Android using custom Debug KeyStore

Source: Internet
Author: User

Sometimes when you need to use a third-party API, you need a key store SH1 value, such as using the Baidu Map API, if it is coordinated development, you need all eclipse use the same keystore.

As shown in the following:


It is important to note that the custom KeyStore name must be debug.keystore. Otherwise, it will.

Keystore was tampered with, or password was incorrect, this error. Also, make sure that the alias (alias) and alias password for KeyStore are the same as the default debug KeyStore.


You can use the command line:

Keytool-Genkey-v-KeyStore Debug.KeyStore-alias Androiddebugkey-Storepass Android-Keypass Android-Keyalg RSA-Validity14000
The main information is:

Keystore Name: "Debug.keystore"
Keystore Password: "android"
Key alias: "androidDebugkey"
Key Password: "Android"
CN: "Cn=android debug,o=android,c=us"

Make sure you have the same information as above to generate keystore and use it.




Android using custom Debug KeyStore

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.