In order to use Maps Android API, you have to assign a API Key in AndroidManifest.xml.
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="your API Key here"/>
You have to assign Debug API Key in testing, and Release API Key when release APK. Just insert the correct API Key, clean and rebuild your project should be OK. It's suggested to un-install your old app in device before re-load.
The series:
A simple example using Google Maps Android API v2, step by step.
I rebuild my project but its the same I have got blank map.
ReplyDeleteidea ?
hello MisterAndroid,
ReplyDeleteHave you replace YOUR OWN KEY?
If you run in debug mode (download from Eclipse via adb) use debug key.
If you generate APK, use release key.