Android開発初心者です。
Android Studio V3で、新規プロジェクトを作成(Google Map)し、エミュレータを実行したところ、
ogle Map API Demo won't run unless you update Google Play services
というエラーが出てしまい、地図が出ません。
build.glandleは、
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
defaultConfig {
applicationId "com.xxx.maptest"
minSdkVersion 15
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.google.android.gms:play-services-maps:11.6.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test🏃♂️1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}
です。
エミュレータの設定->apps->Google Play services
でみるとバージョンは、11.5.09となっていました。
(エミュレータは再作成しても同じでした。)
何が原因でこのエラーが出ているのでしょうか。
なぜエミュレータのバージョンが古くなってしまうのでしょうか。
回答1件
あなたの回答
tips
プレビュー