aspose file tools*
The moose likes Android and the fly likes Failure to load map, I cannot get Google Maps V2 to show map Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Failure to load map, I cannot get Google Maps V2 to show map" Watch "Failure to load map, I cannot get Google Maps V2 to show map" New topic
Author

Failure to load map, I cannot get Google Maps V2 to show map

Tom Mordon
Ranch Hand

Joined: Apr 26, 2012
Posts: 30
04-18 13:09:10.033: E/Google Maps Android API(8125): Failed to load map. Could not contact Google servers.
[2013-04-18 13:30:59 - google-play-services_lib] Could not find google-play-services_lib.apk!

is the link to the image that shows my google apis and android dependencies.

Snapshot of Eclipse setup

The first error I get above is from logcat the second one is from the console.

I'm confident that my package name and API number are correct. The app runs but doesn't load up the map. Any thoughts on why its not working? It looks like all my permissions are correct. I've been looking on the web and have tried numerous solutions but none of them have worked out yet. Any thoughts? Additionally I'm sure I have the google-play-services_lib.apk installed.

Thanks in advance.






Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42612
    
  65
Are you running this on the emulator, or on an actual device? The device would have to have the Play Store app installed, while for the emulator it should be sufficient to set it up with the Google APIs - which, IIRC, is not the default if you set up AVDs using the android executable that comes with the Android SDK. I'm not familiar with how Eclipse sets up AVDs, so YMMV.


Ping & DNS - my free Android networking tools app
Tom Mordon
Ranch Hand

Joined: Apr 26, 2012
Posts: 30
I'm running it on a Nexus 7 device.
Carlos Sessa
author
Greenhorn

Joined: Apr 17, 2013
Posts: 14
The logs says your are missing the google-play-services_lib.apk
Does your android device have the google apps installed?
Anna Harris
Greenhorn

Joined: Aug 21, 2012
Posts: 13
There must be something wrong within the settings of the app. Check the settings and resolve it.
 
Consider Paul's rocket mass heater.
 
subject: Failure to load map, I cannot get Google Maps V2 to show map