Google Maps API ( 9757): Authorization failure

前端 未结 1 338
孤独总比滥情好
孤独总比滥情好 2021-01-25 08:47

Android Studio 3.1.3
Android 6.0
Gradle 4.4

I want to get new Google map api key. So here my steps:

  1. In my android project in Android Studio I o

相关标签:
1条回答
  • 2021-01-25 09:24

    Check to make sure you have Maps SDK for Android enabled for the specific project in your Google API console. Also check the "Application Restrictions" for that particular key in your Google API Console. If you have "Android apps" selected, the package name and the SHA-1 fingerprint must match the package name of your Android project and the SHA-1 fingerprint generated in your google_maps_api.xml file. You can also select "None" in the "Application Restrictions" and all you need to do is place the correct API Key in your google_maps_api.xml file.

    0 讨论(0)
提交回复
热议问题