How to get Google Api Key

Source: Internet
Author: User

1. Use Keytool request to get MD5 value
1.1 Found your Debug.keystore
Windows VISTA/7: C:\users\<username>\.android\debug.keystore
Windows Xp:c:\documents and Settings\<user>\.android\debug.keystore
OS X and Linux:~/.android/debug.keystore

1.2 using CMD to switch to the directory where Debug.keystore is located
My system is windows 7
Folder: C:\Users\Work\.android


1.3 Applying for MD5 value using Keytool
JDK1.6 and version less than JDK1.6 use: Keytool-list-alias androiddebugkey-keystore Debug.keystore
JDK1.7, the default generation algorithm is SHA1, the problem is to increase "-V",-V will keytool output MD5, SHA1, sha256 three kinds of dense lines
Keytool-v-list-alias Androiddebugkey-keystore Debug.keystore
The password defaults to: Android



2. Get API Key via MD5 value (need to sign in with Google account)
Open Link: Https://developers.google.com/android/maps-api-signup?hl=zh-CN

Enter the MD5 value to get the API key
Solve the method of not opening this website
Locate the local Hosts file, under the C:\Windows\System32\drivers\etc directory,
Open the Hosts file and add 203.208.46.180 google-developers.appspot.com to the bottom.
Close the browser and open it to open the site

How to get Google Api Key

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.