This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 39578
    
  27
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 - updated with new look and Ping home screen widget
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Failure to load map, I cannot get Google Maps V2 to show map
 
Similar Threads
shows me blank with blinking arrow
launch skype after click button in the app
Maps are not show in Emulator
it doesn't shows location details
Not sure whats wrong in my main.xml file