http://dreamylights.blog.51cto.com/1163218/1360759
1. Go to the Google APIs console page
https://code.google.com/apis/console/
Click Seivices in the left navigation bar to enter
Find Google Maps Android API 2 and in the list of all services
Google Play Android Developer API, these APIs are activated, that is, back to on, the first time the activation may accept some terms, accept it
2. Get the key from the computer
For example, Debug.keystore in this directory.
Then go to Dos, go to the. Android directory, enter Keytool-list-alias Androiddebugkey-keystore debug.keystore.
Enter KeyStore Password: Android.
Get a SHA1 key and copy it down
3. Application API Key
On the Google APIs console page, select
Create a new key by clicking on the creation new Android key
Create a new API key by filling in the page with your computer's generated SHA1 key and the package you want to build, and then tapping on
GoogleMap the steps to get your own digital Certificate API key