I installed fallowing things with Android Studio SDK Manager:
- Intel x86 Google API System Image [API level 23]
- Google API
I create Virtual Device with Target Android 6.0 (Google APIs)
Problem:
If I run sample HelloMap app, app alerts me:
Why? If I look to Settings -> Apps -> Google Play Services
, it's enabled (v9.0.80)
Maybe gradle.build will be helpful:
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
// SUB-PROJECT DEPENDENCIES START
debugCompile project(path: "CordovaLib", configuration: "debug")
releaseCompile project(path: "CordovaLib", configuration: "release")
compile "com.google.android.gms:play-services-maps:+"
compile "com.google.android.gms:play-services-location:+"
// SUB-PROJECT DEPENDENCIES END
}
EDIT:
from adb logcat i get this:
GooglePlayServicesUtil: Google Play services out of date. Requires 9256000 but found 9080470
now is clear, that i have lower version of Google Play Services, than System image requires. Problem is that GPS are up to date according to SDK manager in Android Studio.