【发布时间】:2016-11-18 11:23:30
【问题描述】:
我得到了钥匙并设置了限制,但我仍然无法在模拟器上打开地图。在build.gradle上,我看到google play服务现在是9.8.0,我认为这是最新的。但是,当我运行示例应用程序时,它说我需要更新 Google Play 服务?
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.google.android.gms:play-services-maps:9.+'
}
我检查了 Android 模拟器,它没有 Play 商店。是失踪的那一个吗?我按照这个链接 https://developers.google.com/maps/documentation/android-api/start#step_2_install_the_google_play_services_sdk
安装 Google Play 服务,但我找不到任何可以提供帮助的东西。我的 Android Studio 版本是 2.2.2。 我下载了 GooglePlayServices apk 文件(com.google.android.gms-9.8.77-440-135396225-APK4Fun.com),我将它拖放到模拟器中进行安装,但它有错误 错误:安装失败不兼容
W/GooglePlayServicesUtil: Google Play services out of date. Requires 9877000 but found 9683470
我需要你的帮助。
【问题讨论】: