Chr*_*s.C 6 api android google-maps google-play-services android-gradle-plugin
今天我在模拟器上开始应用程序后遇到了这个问题,但昨天一切正常,我没有在前一天编辑任何更改.调查后,API密钥也有效.
我试过的事情:
但错误仍然存在.
Logcat显示模拟器何时打开应用程序:
09-20 09:49:09.261 25985-25985/com.abc.abc I/c: Token loaded from file. Expires in: 174900321 ms.
09-20 09:49:11.339 25985-26088/com.abc.abc W/DynamiteModule: Local module descriptor class for com.google.android.gms.googlecertificates not found.
09-20 09:49:11.341 25985-26088/com.abc.abc I/DynamiteModule: Considering local module com.google.android.gms.googlecertificates:0 and remote module com.google.android.gms.googlecertificates:1
09-20 09:49:11.341 25985-26088/com.abc.abc I/DynamiteModule: Selected remote version of com.google.android.gms.googlecertificates, version >= 1
09-20 09:49:11.343 25985-26088/com.abc.abc D/GoogleCertificates: com.google.android.gms.googlecertificates module is loaded
Run Code Online (Sandbox Code Playgroud)
我的build.grade(Module:app)在我的应用程序上编译了这些服务:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.google.android.gms:play-services-maps:9.4.0'
compile 'com.google.android.gms:play-services-ads:9.4.0'
compile 'com.google.android.gms:play-services-auth:9.4.0'
compile 'com.google.android.gms:play-services-gcm:9.4.0'
compile 'com.facebook.android:facebook-android-sdk:[4,5)'
compile 'com.android.support:design:24.2.1'
compile 'com.android.support:support-v4:24.2.1'
compile 'me.angrybyte.picker:picker:1.2.0'
compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
compile 'com.android.support:recyclerview-v7:24.2.1'
compile 'de.hdodenhof:circleimageview:1.2.1'
}
Run Code Online (Sandbox Code Playgroud)
我发现有人遇到了这个问题,并在这个网站上询问,但我不确定错误是由我的应用程序引起的.谢谢.
更新:谷歌地图可以显示,但我无法通过单击地图(onClick功能)收集console.log(国家/地区代码/国家/地区名称)的数据.
| 归档时间: |
|
| 查看次数: |
1309 次 |
| 最近记录: |