installiert sind installiert ich Brache Dinge mit Android Studio SDK Manager:Cordova Anwendung in Emulator wirft "HelloMap wird nicht ausgeführt, wenn Sie Google Play-Dienste aktualisieren", obwohl GPS
- Intel x86 Google API System-Image [API-Ebene 23]
- Google API
ich schaffe Virtual Device mit ZielAndroid 6.0 (Google APIs)
Problem:
Wenn ich Probe HelloMap app laufen, App warnt mich:
Warum? Wenn ich Settings -> Apps -> Google Play Services
aussehen, wird es aktiviert (v9.0.80)
Vielleicht gradle.build hilfreich sein:
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:
von adb logcat ich das bekommen :
GooglePlayServicesUtil: Google Play services out of date. Requires 9256000 but found 9080470
jetzt ist cl Ohr, dass ich niedrigere Version von Google Play Services habe, als System Image erfordert. Problem ist, dass GPS gemäß SDK Manager in Android Studio aktuell ist.
Dies scheint mit den neuesten Google APIs-Systemabbildern behoben zu sein – rynomster