【问题标题】:Error getGoogleAppId failed with status: 10错误 getGoogleAppId 失败,状态为:10
【发布时间】:2016-02-16 10:22:09
【问题描述】:

我使用 Android Studio 制作了一个 android 程序。当我运行程序时,出现错误“02-16 14:59:31.715 17216-17249/com.anastasia.voicemap E/GMPM: getGoogleAppId failed with status: 10”。

调用函数显示地图时出现此错误。

这是我得到的最完整的错误:

02-16 14:59:31.715 17216-17249/com.anastasia.voicemap E/GMPM: getGoogleAppId failed with status: 10    
02-16 14:59:31.715 17216-17249/com.anastasia.voicemap E/GMPM: Uploading is not possible. App measurement disabled  
02-16 14:59:48.665 17216-17408/com.anastasia.voicemap E/b: Authentication failed on the server.
02-16 14:59:48.665 17216-17408/com.anastasia.voicemap E/Google Maps Android API: Authorization failure.  Please see https://developers.google.com/maps/documentation/android/start for how to correctly set up the map.  
02-16 14:59:48.685 17216-17408/com.anastasia.voicemap E/Google Maps Android API: In the Google Developer Console (https://console.developers.google.com)  
02-16 14:59:48.685 17216-17408/com.anastasia.voicemap E/Google Maps Android API: Ensure that the "Google Maps Android API v2" is enabled.  
02-16 14:59:48.685 17216-17408/com.anastasia.voicemap E/Google Maps Android API: Ensure that the following Android Key exists:  
02-16 14:59:48.685 17216-17408/com.anastasia.voicemap E/Google Maps Android API:    API Key: AlzaSyAG6cQ7UQ39oYzoXAMJEUIo3F--wKAsyB8  
02-16 14:59:48.685 17216-17408/com.anastasia.voicemap E/Google Maps Android API:    Android Application (<cert_fingerprint>;<package_name>): C0:8A:92:85:63:3B:90:F8:04:A5:F8:07:46:C1:31:78:F7:C9:2D:5B;com.anastasia.voicemap  
02-16 15:00:01.595 17216-17216/com.anastasia.voicemap E/WhetstoneSDK-JNI: on Load native Whetstone

提前致谢!
阿贡

【问题讨论】:

    标签: android google-maps android-studio


    【解决方案1】:

    您需要检查您的开发者控制台中是否启用了 Google Maps Android API。如果是,请检查您是否将 Android API Key 放入了google_maps_api.xml

    【讨论】:

      【解决方案2】:

      当我的网络无法访问谷歌服务时,我收到了这个错误。 无法访问 Play 商店、Gmail 和 Google 搜索,但有互联网连接。 显示此错误时检查您对 Google 服务的访问权限。

      【讨论】:

        【解决方案3】:

        你必须有互联网, 它应该在您安装/启动您的应用程序时打开,当您从服务器访问任何服务时,您必须有互联网。

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 2016-06-28
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2020-10-15
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多