-
Hi Hufman, I build the apk for dirty-gmap and it show the icon in IDrive but actually when I open the map, its a blank screen, it shows google in the left down side as on google maps, but actually there are no maps. I have done anything wrong ? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
This is usually because the key didn't get included into the build properly, or the key doesn't have the correct permissions in the Google Cloud Console. In Android Studio, use the Build > Analyze APK tool to open your output APK's AndroidManifest.xml, and you should see your key in the If that does show the correct key, then the other possibility is that the key doesn't have the correct API permissions. The definitive proof of this will be The Credential Key App Restrictions are not necessary, and I have my personal build set to None. |
Beta Was this translation helpful? Give feedback.
This is usually because the key didn't get included into the build properly, or the key doesn't have the correct permissions in the Google Cloud Console.
In Android Studio, use the Build > Analyze APK tool to open your output APK's AndroidManifest.xml, and you should see your key in the
<meta-data android:name="com.google.android.geo.API_KEY" android:value="{KEY}">
location. If not, Gradle didn't pick up the key properly from gradle.properties.If that does show the correct key, then the other possibility is that the key doesn't have the correct API permissions. The definitive proof of this will be
adb logcat
output showing errors, but they are difficult to find among all the other log me…