Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Tom Mordon
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Tom Mordon
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm running it on a Nexus 7 device.
 
Carlos Sessa
author
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The logs says your are missing the google-play-services_lib.apk
Does your android device have the google apps installed?
 
Anna Harris
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There must be something wrong within the settings of the app. Check the settings and resolve it.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic