Apply for Android map apikey

Source: Internet
Author: User


A developed program needs to be signed. In general, debugkey is used for development. If a program is released, its own signature is generally used, you can use commands to generate your own signature files, or eclipse or other development tools to generate them. The debugkey application method is as follows:

1. Find the debugkeystore File

The certificate path is generally in c: \ Documents ents and Settings \ current user \. androiddebug. keystroe. When eclipse is used for development, you can choose windows> preference> Android> build from eclipse. The default debug keystore value is the path of DEBUG. keystore.

 

2. Obtain the MD5 value of DEBUG. keystore.

Start> RUN> Enter cmd to open the command window and go to debug. the path of the keystore file. Run the following command: keytool-list-alias androiddebugkey-keystore debug. keystore. The system will prompt you to enter the password. Enter the default password "android" here ".

Debug key parameters:

Keystore name: "Debug. keystore"

Keystore password: "Android"

Key alias: "androiddebugkey"

Key password: "android"

CN: "Cn = Android debug, O = Android, c = us"

 

If: Android keytool is not an internal or external command

Then keytool is in the Java bin directory, all cmd CD to D: \ Program Files \ Java \ jdk1.6.0 _ 16 \ bin

Run: keytool-list-alias androiddebugkey-keystore "c: \ Documents and Settings \ ll \. Android \ Debug. keystore"

Obtain the MD5 value of DEBUG. keystore: 9f: 3D: 02: 75: 90: F3: C8: 80: CC: B2: F5: 39: 42: 60: A0: FD.

3. Apply for the API key for Android Map

Go to the Website: http://code.google.com/android/maps-api-signup.html, account, apply for adnroid map API key on the google website (if not available, you need to flip the wall, I use fg730x)

In my certificate's MD5 fingerprint, enter the MD5 value obtained in the previous step and click Generate API key to generate the key value, as shown in:

0ftnhhpgrqoec3hlkyg2ouavlqboqk-i5ma81na is the applied key

4. If it is your own key file, use the same method above to generate an MD5 value for it, and then go to the Google website to obtain the corresponding key.

Related Article

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.