Android Google map obtains the API key

Source: Internet
Author: User

After configuring the development environment (including Java environment variables)

----- 1. Find your Debug. keystore file in the eclipse tool,

Choose windows --> preference --> Android --> build,

The default debug keystore value is the path of DEBUG. keystore.

 

----- 2. Obtain the MD5 value of DEBUG. keystore.

First, run the CMD command line to enter the path where the debug. keystore file is located,

Run the following command:

Keytool-list-alias androiddebugkey-keystore "C: \ Documents and Settings \ Administrator \. android \ debug. keystore (here is the debug step obtained. the absolute path of the keystore file) "-storepass Android-keypass android

In this way, the MD5 value is obtained.

----- 3. Apply for the android map API key.

Open your browser, enter the URL: http://code.google.com/intl/zh-CN/android/maps-api-signup.html,

Enter your authentication fingerprint (MD5) to obtain the apikey.

(Of course, you still need a Gmail account. If jdk7 is used, it will be different ..)

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.