Android Google Maps Application Showing Grey Background Instead Of The Map
Solution 1:
This problem is caused when there is a problem with your key or a problem with it's configuration in the Google API Console.
Go over this blog post I wrote on how to produce the key and integrate in in the console:
if this is not helpful you can try to delete the dubug.keystore
folder in you user folder, compile
some project in eclipe (which result in regenerating this key) and try to register it again.
UPDATE: From the new error you posted, do you have this permission in your manifest file:
<uses-permissionandroid:name="android.permission.ACCESS_NETWORK_STATE"/>
Solution 2:
Try this: set the “Custom debug keystore”
setting (empty by default
) to the same value as the “Default debug keystore”
in the Eclipse preferences.
Solution 3:
Emil's post above helped me, I was getting the same error and realised that this was due to me changing the name of my project. I added the changed name along with the same SHA1 I had for my old project on a new line (leaving the one with the old name above) in the console and it seemed to work as normal.
Post a Comment for "Android Google Maps Application Showing Grey Background Instead Of The Map"