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:
follow first 3 steps correct google-play-services
library integration.
or check post right configuration in api console:
Comments
Post a Comment