Answer the question
In order to leave comments, you need to log in
How to work with GoogleMap?
Created a google maps template in android studio. There is a google_maps_api.xml(debug) file in value.
<resources>
<string name="google_maps_key_instructions" templateMergeStrategy="replace"><!--
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:
[url]https://console.developers.google.com/flows/enableapi?apiid=maps_android_backend&keyType=CLIENT_SIDE_ANDROID&r=F0:B2:F3:N5:41:D3:D1:38:89:5D:C4:F1:E1:24:A2:60:D7:F1:D4:E5%3Broot.googlemap[/url]
You can also add your credentials to an existing key, using this line:
F0:B2:F3:N5:41:D3:D1:38:89:5D:C4:F1:E1:24:A2:60:D7:F1:D4:E5;mypackge.googlemap
Once you have your key (it starts with "AIza"), replace the "google_maps_key"
string in this file.
--></string>
<string name="google_maps_key" templateMergeStrategy="preserve">AIzaSyCkGpkNVdernKBsuajZ62zKf1BSMhYFQgs</string>
</resources>
Answer the question
In order to leave comments, you need to log in
the debug key is issued for a year, delete the old storage, create an empty project in Eclipse - it will create the debug key itself, Ideac used to have problems with this, as I don’t know now ─ I myself somehow lost two days with cards with the same problem)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question