Google Maps V2 Shows Blank Screen On Android 2.2
Solution 1:
I finally found out what the problem was. I was picking the wrong debug keystore. I am working with an ubuntu machine. Since I opened eclipse as root, the default keystore in eclipse was located in my root folder(/root/.android/.android/debug.keystore) whiles I was creating the api key with the debug keystore from my user folder. I created a new api key with the debug keystore in the root folder and it works now.
Solution 2:
make sure that you enable the Google Maps Android API v2 service in the https://code.google.com/apis/console
- Go to you https://code.google.com/apis/console-> services tab
- Make sure Google Maps Android API v2 is ON
- Go to API Access tab
- Create again a new Android key
Then you're good to go :)
Solution 3:
I was mucking around with this stuff for ages as well (certificates, package names, API console etc.) and nothing worked until I tried uninstalling the app from my device, then re-installing it and suddenly it was fine.
Solution 4:
I had the same problem but solved it like that. Might be helpful if the above answer doesn't work for you. After I changed my app's package name, map starts not to show up. (it happened after I changed my package name)
- Delete the keystore file that you used for previous package
- Create a new keystore file
- Get SHA1 fingerprint
- Go to API Console
- Create a new Android App.
- Paste your fingerprint
- Use the given API Key in your Manifest File
That worked for me
Solution 5:
I had the same issue and the solution was to delete the debug.keystore. Then i did an
adb uninstall com.example.myapp
Then clean and run the application again.
I think the problem was due to the fact that i copied and pasted in my manifest a dummy API key and I first deployed the application with it.
Post a Comment for "Google Maps V2 Shows Blank Screen On Android 2.2"