mirror of
https://github.com/googlemaps/android-samples.git
synced 2025-12-08 18:02:20 +00:00
Update comments for Maps API key string.
Change-Id: I9cf155b786dfdbc0332419838eb1b358d91e7f84
This commit is contained in:
parent
8dd256c901
commit
8c22f5bc4d
@ -30,7 +30,7 @@ If prompted for a gradle configuration accept the default settings.
|
||||
|
||||
Alternatively use the "gradlew build" command to build the project directly.
|
||||
|
||||
Don't forget to add your API key to the AndroidManifest.xml.
|
||||
Don't forget to add your API key to the file ``debug/values/google_maps_api.xml`` for your debug keystore.
|
||||
(See [https://developers.google.com/maps/documentation/android/start](https://developers.google.com/maps/documentation/android/start#get_an_android_certificate_and_the_google_maps_api_key))
|
||||
|
||||
Support
|
||||
|
||||
@ -2,18 +2,14 @@
|
||||
<!--
|
||||
TODO: Before you run your application, you need a Google Maps API key.
|
||||
|
||||
To get one, follow this link, follow the directions and press "Create" at the end:
|
||||
|
||||
https://console.developers.google.com/flows/enableapi?apiid=maps_android_backend&keyType=CLIENT_SIDE_ANDROID&r=A7:8A:7F:FD:01:05:0C:11:6C:A4:0F:78:37:0D:10:28:23:3B:98:E0%3Bmapdemo.example.com.googlemapsapidemos
|
||||
|
||||
You can also add your credentials to an existing key, using this line:
|
||||
A7:8A:7F:FD:01:05:0C:11:6C:A4:0F:78:37:0D:10:28:23:3B:98:E0;mapdemo.example.com.googlemapsapidemos
|
||||
|
||||
Alternatively, follow the directions here:
|
||||
https://developers.google.com/maps/documentation/android/start#get-key
|
||||
See this page for more information:
|
||||
https://developers.google.com/maps/documentation/android/start#get_an_android_certificate_and_the_google_maps_api_key
|
||||
|
||||
Once you have your key (it starts with "AIza"), replace the "google_maps_key"
|
||||
string in this file.
|
||||
|
||||
Note: This resource is used for the debug build target. Update this file if you just want to run
|
||||
the demo app.
|
||||
-->
|
||||
<string name="google_maps_key" translatable="false" templateMergeStrategy="preserve">
|
||||
YOUR_KEY_HERE
|
||||
|
||||
@ -7,6 +7,10 @@
|
||||
|
||||
Once you have your key (it starts with "AIza"), replace the "google_maps_key"
|
||||
string in this file.
|
||||
|
||||
Note: This resource is used for the release build target. You likely only want to update the string
|
||||
in the debug/.../google_maps_api.xml instead if you just want to run this app.
|
||||
(This file is used for the release target that uses the release key store.)
|
||||
-->
|
||||
<string name="google_maps_key" translatable="false" templateMergeStrategy="preserve">
|
||||
YOUR_KEY_HERE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user