Android Google Map API V2 Blank Screen
For me it turned out that I didn't enabled the Google Maps Android API v2
. We were using another Google Maps API which I assumed to be the same.
if it didn't work though,follow this
Solving the blank screen issue on maps: Hi there ,i have been through this blank screen for a very long time and tried out all solutions u can imagine.Now it solved and the steps were:
1-Go through all steps of this tutorial carefully.
2-If the blank screen still the same ,delete you debug key store file that exists in c:\Users\youUser.android\debug.keystore <-- delete this file
3-On the eClips IDE rebuild your app so it will automatically re create this file. 4-On eclips go to Window-->preferences-->android-->Build copy the fresh generated SHA1 and then follow the normal key generation steps . 5-Run on your real device ,and i hope you'll see your map :)
You have couple of permission issues with your manifest. First, in the following you need to replace the package name with your package, you also need to as a uses-permission
<permission
android:name="com.example.mapdemo.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />
per your package name, should be --
<permission
android:name="com.example.barcodelibrary.permission.MAPS_RECEIVE"
android:protectionLevel="signature"/>
<uses-permission android:name="com.example.barcodelibrary.permission.MAPS_RECEIVE"/>
Finally, you seem to be missing the following permissions from the specifying permissions section of the Getting Started guide --
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>