Android - google map blank screen -


the google map api v2 shows blank screen use mapdemo project in google play service sample

  • i reinstall google play service sdk.
  • i changed api key
  • i changed debug.keystore , re-generate sha1 fingerprint

nothing changed...

and mmap null ????

if (mmap == null) {  // try obtain map supportmapfragment.  mmap = ((supportmapfragment) getsupportfragmentmanager().findfragmentbyid(r.id.map)) .getmap();  // check if successful in obtaining map.  if (mmap != null) {  setupmap();  } 

this problem (blank map zoom control) derived fact didn't referenced google-play-services library correctly, or haven't configured api in console right way.

you can take @ blog post wrote on how integrate google maps api v2 in application:

google maps api v2

follow first 3 steps correct google-play-services library integration.

or check post right configuration in api console:

google maps api v2 key


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -