I have written a correct Google map code.Everything runs,but the map does not come. i have used correct sha 1 machine key to generate the API key which i have.I have used different emulators and mobile phones,but its not coming.what may be the probable reason? xml code:
you have to given those permission in manifiest
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="api key"/>
// android.apikey
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
Please follow these steps:
Update the google play services in the SDK.
Manually uninstall the App from device and restart the device. i have tried it and its going perfectly bro
Also do one thing get the new api key to edited the new sh1 code from https://code.google.com/apis/console/
you can get your sh1 code from window- preference-android-buid