Getting Failed To Load Map. Error Contacting Google Servers
Solution 1:
Go to https://code.google.com/apis/console Once logged in, go to Services > Google Maps Android API v2 and switch on this toggle button.
Careful: it's "Google Maps Android API v2" and not "Google Maps API v2".
Solution 2:
For those to whom none of the answers work, in my case the problem was, that there was another android app key registered for the same package name on another account's console, so the maps api was finding that, and failed to authenticate me (obviously). As soon as that has been removed (and the fingerprints added to the one I was using) after removing and installing the app again on the phone everything started to work.
Solution 3:
This is keystore issue on 99%.
1) I use for release and debug the same file debug.keystore
which I copy from C:/Users/EEfimenko/.android/debug.keystore
to C:\Users\EEfimenko\Android\MyApp\app
folder for access directly like to debug.keystore
without C:/Users/...
link
2) Then I add point to it from build.gradle(Module: app) file in
android`:
signingConfigs {
debug {
storeFile file('debug.keystore')
}
release {
storeFile file('debug.keystore')
}
}
3) Run keytool -list -v -keystore debug.keystore
command from cmd from C:\Users\EEfimenko\Android\MyApp\app
folder and mix resulted SHA1 fingerprint with name of applet: FR:TY:CG.....YF:ER;com.myapp.nameofit
4) Go to https://code.google.com/apis/console/b/0/?noredirect to:
a) Services and enable "Google Maps Android API v2" to ON state
b) Put FR:TY:CG.....YF:ER;com.myapp.nameofit in "API Access" like Create new Android Key
Now you can see your map with key again like at beginning without key!:)
Solution 4:
I tried to do almost everything like generating the key for 20 times, changing the order of the permissions, but there is nothing batter than just removing the project from workspace and importing it back again.
Solution 5:
Problem is: work without key, but doesn't work with it, because you touch "app" file by your hand from editor. You must edit it and make changes only from: File -> Project structure
Post a Comment for "Getting Failed To Load Map. Error Contacting Google Servers"