Google Maps Android API V2 (Google Maps API key application)

Source: Internet
Author: User
Tags sha1

Reference: https://developers.google.com/maps/documentation/android/start? Hl = ZH-CN # getting_the_google_maps_android_api_v2

The old version of Google map API key does not seem to have been applied for, and the application address given in the previous popular online tutorials is different from the page given in the tutorial. The following describes the APIs of Google Maps Android API V2.
Key application method, hope you can see this article.
 Apply for Google
For the API key of maps Android API V2, you must first obtain the sha1 authentication fingerprint. The method is as follows:
  1. Find keytool and debug. the Directory of the two keystore folders (generally, keytool is in the bin folder of your JDK installation directory; debug. the keystore is in. \ Android directory. My keytool file is in E: \ Java \ JDK \ bin \ keytool, And the Debug. keystore file is in c: \ User \ dpuz \. Android \ Debug. keystore. The directory where Debug. keystore is located can also be viewed by opening eclipse> WINDOW> preference> Android> bulid:


2. Find the above two files, open the console (CMD), run the CD command to enter the directory where the keytool file is located, and then enter keytool
-V-list-keystore c: \ Users \ <your user name> \. Android \ Debug. keystore. After you press enter, he will ask you to enter the password, which is Android. In this way, you will get the sha1 fingerprint,


After obtaining the sha1 authentication fingerprint, open the link https://code.google.com/apis/lele/, and click here. Of course, you must have a Google account number before, and it doesn't matter if you have one,

Enter: obtaining an API Project

Then go to the Goog APIs Console

If you do not have an account, apply for a Google app account first.

When services is enabled, the status is off:

Then you will go to a Google agreement terms page, without a doubt, accept.
   Click the API on the left.
Access, enter such a page, find create Android new key below.

Enter

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.