Flutter-geolocator: Absturz während getCurrentPosition

Erstellt am 29. Mai 2019  ·  2Kommentare  ·  Quelle: Baseflow/flutter-geolocator

💬 Fragen und Hilfe

Die App stürzt ab, während versucht wird, getCurrentPosition() auszuführen, die wie folgt aufgerufen wird:

`void getLocation() async {
erwarte Geolocator()
.getCurrentPosition(desiredAccuracy: LocationAccuracy.low);
}

@überschreiben
void initState() {
super.initState();
getLocation();
}`

mit Fehlercode:

`D/EGL_emulation(13903): eglMakeCurrent: 0x9b005780: ver 3 1 (tinfo 0x9b0038d0)
I/zygote (13903): Gleichzeitiges Kopieren im Hintergrund GC freigegeben 4161 (1250 KB) AllocSpace-Objekte, 3 (60 KB) LOS-Objekte, 78 % frei, 423 KB/1959 KB, angehalten 8.600 ms insgesamt 19.051 ms
D/EGL_emulation(13903): eglMakeCurrent: 0x98498ac0: ver 3 1 (tinfo 0x987ff2f0)
I/zygote (13903): Ablehnen von Neuinit für zuvor fehlgeschlagene Klasse java.lang.Class: java.lang.NoClassDefFoundError: Fehler bei der Auflösung von: Landroid/support/v4/app/DialogFragment;
I/zygote (13903): at com.google.android.gms.common.GoogleApiAvailability com.google.android.gms.common.GoogleApiAvailability.getInstance() ((null):1)
I/zygote (13903): bei void com.baseflow.googleapiavailability.GoogleApiAvailabilityPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (GoogleApiAvailabilityPlugin.java:64)
I/zygote (13903): bei void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:201)
I/zygote (13903): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:88)
I/zygote (13903): bei void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:219)
I/zygote (13903): bei void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote (13903): bei android.os.Message android.os.MessageQueue.next() (MessageQueue.java:325)
I/zygote (13903): bei void android.os.Looper.loop() (Looper.java:142)
I/zygote (13903): bei void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (13903): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (13903): bei void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (13903): bei void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote (13903): Verursacht durch: java.lang.ClassNotFoundException: Klasse "android.support.v4.app.DialogFragment" im Pfad nicht gefunden: DexPathList[[zip file "/data/app/net.uebellacker. lence-ctyssbNk8i8k-LhPcT8s3g==/base.apk"],nativeLibraryDirectories=[/data/app/net.uebellacker.lence-ctyssbNk8i8k-LhPcT8s3g==/lib/x86, /data/app/net-ktybellackers -LhPcT8s3g==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
I/zygote (13903): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote (13903): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote (13903): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote (13903): at com.google.android.gms.common.GoogleApiAvailability com.google.android.gms.common.GoogleApiAvailability.getInstance() ((null):1)
I/zygote (13903): bei void com.baseflow.googleapiavailability.GoogleApiAvailabilityPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (GoogleApiAvailabilityPlugin.java:64)
I/zygote (13903): bei void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:201)
I/zygote (13903): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:88)
I/zygote (13903): bei void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:219)
I/zygote (13903): bei void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote (13903): bei android.os.Message android.os.MessageQueue.next() (MessageQueue.java:325)
I/zygote (13903): bei void android.os.Looper.loop() (Looper.java:142)
I/zygote (13903): bei void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (13903): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (13903): bei void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (13903): bei void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/Zygote (13903):
I/zygote (13903): Ablehnen von Neuinit für zuvor fehlgeschlagene Klasse java.lang.Class: java.lang.NoClassDefFoundError: Fehler bei der Auflösung von: Landroid/support/v4/app/DialogFragment;
I/zygote (13903): at com.google.android.gms.common.GoogleApiAvailability com.google.android.gms.common.GoogleApiAvailability.getInstance() ((null):1)
I/zygote (13903): bei void com.baseflow.googleapiavailability.GoogleApiAvailabilityPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (GoogleApiAvailabilityPlugin.java:64)
I/zygote (13903): bei void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:201)
I/zygote (13903): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:88)
I/zygote (13903): bei void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:219)
I/zygote (13903): bei void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote (13903): bei android.os.Message android.os.MessageQueue.next() (MessageQueue.java:325)
I/zygote (13903): bei void android.os.Looper.loop() (Looper.java:142)
I/zygote (13903): bei void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (13903): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (13903): bei void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (13903): bei void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote (13903): Verursacht durch: java.lang.ClassNotFoundException: Klasse "android.support.v4.app.DialogFragment" im Pfad nicht gefunden: DexPathList[[zip file "/data/app/net.uebellacker. lence-ctyssbNk8i8k-LhPcT8s3g==/base.apk"],nativeLibraryDirectories=[/data/app/net.uebellacker.lence-ctyssbNk8i8k-LhPcT8s3g==/lib/x86, /data/app/net-ktybellackers -LhPcT8s3g==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
I/zygote (13903): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote (13903): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote (13903): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote (13903): at com.google.android.gms.common.GoogleApiAvailability com.google.android.gms.common.GoogleApiAvailability.getInstance() ((null):1)
I/zygote (13903): bei void com.baseflow.googleapiavailability.GoogleApiAvailabilityPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (GoogleApiAvailabilityPlugin.java:64)
I/zygote (13903): bei void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:201)
I/zygote (13903): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:88)
I/zygote (13903): bei void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:219)
I/zygote (13903): bei void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote (13903): bei android.os.Message android.os.MessageQueue.next() (MessageQueue.java:325)
I/zygote (13903): bei void android.os.Looper.loop() (Looper.java:142)
I/zygote (13903): bei void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (13903): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (13903): bei void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (13903): bei void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/Zygote (13903):
I/zygote (13903): Ablehnen von Neuinit für zuvor fehlgeschlagene Klasse java.lang.Class: java.lang.NoClassDefFoundError: Fehler bei der Auflösung von: Landroid/support/v4/app/DialogFragment;
I/zygote (13903): at com.google.android.gms.common.GoogleApiAvailability com.google.android.gms.common.GoogleApiAvailability.getInstance() ((null):1)
I/zygote (13903): bei void com.baseflow.googleapiavailability.GoogleApiAvailabilityPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (GoogleApiAvailabilityPlugin.java:64)
I/zygote (13903): bei void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:201)
I/zygote (13903): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:88)
I/zygote (13903): bei void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:219)
I/zygote (13903): bei void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote (13903): bei android.os.Message android.os.MessageQueue.next() (MessageQueue.java:325)
I/zygote (13903): bei void android.os.Looper.loop() (Looper.java:142)
I/zygote (13903): bei void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (13903): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (13903): bei void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (13903): bei void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/zygote (13903): Verursacht durch: java.lang.ClassNotFoundException: Klasse "android.support.v4.app.DialogFragment" im Pfad nicht gefunden: DexPathList[[zip file "/data/app/net.uebellacker. lence-ctyssbNk8i8k-LhPcT8s3g==/base.apk"],nativeLibraryDirectories=[/data/app/net.uebellacker.lence-ctyssbNk8i8k-LhPcT8s3g==/lib/x86, /data/app/net-ktybellackers -LhPcT8s3g==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
I/zygote (13903): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
I/zygote (13903): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote (13903): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote (13903): at com.google.android.gms.common.GoogleApiAvailability com.google.android.gms.common.GoogleApiAvailability.getInstance() ((null):1)
I/zygote (13903): bei void com.baseflow.googleapiavailability.GoogleApiAvailabilityPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (GoogleApiAvailabilityPlugin.java:64)
I/zygote (13903): bei void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:201)
I/zygote (13903): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:88)
I/zygote (13903): bei void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:219)
I/zygote (13903): bei void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote (13903): bei android.os.Message android.os.MessageQueue.next() (MessageQueue.java:325)
I/zygote (13903): bei void android.os.Looper.loop() (Looper.java:142)
I/zygote (13903): bei void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
I/zygote (13903): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (13903): bei void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
I/zygote (13903): bei void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
I/Zygote (13903):
E/flatter (13903): [ ERROR: flatter
E/flattern (13903): unter com.google.android.gms.common.api.internal.GoogleApiManager.(Unbekannte Quelle:29)
E/flattern (13903): at com.google.android.gms.common.api.internal.GoogleApiManager.zab(Unbekannte Quelle:8)
E/flattern (13903): unter com.google.android.gms.common.api.GoogleApi.(Unbekannte Quelle:44)
E/flattern (13903): unter com.google.android.gms.common.api.GoogleApi.(Unbekannte Quelle:53)
E/flattern (13903): unter com.google.android.gms.location.FusedLocationProviderClient.(Unbekannte Quelle:8)
E/flattern (13903): at com.google.android.gms.location.LocationServices.getFusedLocationProviderClient(Unbekannte Quelle:2)
E/flattern (13903): unter com.baseflow.geolocator.tasks.LocationUpdatesUsingLocationServicesTask.(LocationUpdatesUsingLocationServicesTask.java:29)
E/flattern (13903): at com.baseflow.geolocator.tasks.TaskFactory.createCurrentLocationTask(TaskFactory.java:44)
E/flattern (13903): at com.baseflow.geolocator.GeolocatorPlugin.onMethodCall(GeolocatorPlugin.java:59)
E/flatter (13903): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:201)
E/flattern (13903): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:88)
E/flatter (13903): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:219)
E/flattern (13903): bei android.os.MessageQueue.nativePollOnce (Native Methode)
E/flattern (13903): bei android.os.MessageQueue.next(MessageQueue.java:325)
E/flattern (13903): bei android.os.Looper.loop(Looper.java:142)
E/flattern (13903): bei android.app.ActivityThread.main(ActivityThread.java:6541)
E/flattern (13903): at java.lang.reflect.Method.invoke(Native Methode)
E/flattern (13903): at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
E/flattern (13903): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
E/flattern (13903): Verursacht durch: java.lang.ClassNotFoundException: Klasse "android.support.v4.util.ArraySet" im Pfad: DexPathList[[zip file "/data/app/net.uebellacker. lence-ctyssbNk8i8k-LhPcT8s3g==/base.apk"],nativeLibraryDirectories=[/data/app/net.uebellacker.lence-ctyssbNk8i8k-LhPcT8s3g==/lib/x86, /data/app/net-ktybellackers -LhPcT8s3g==/base.apk!/lib/x86, /system/lib, /vendor/lib]]
E/flattern (13903): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
E/flattern (13903): bei java.lang.ClassLoader.loadClass(ClassLoader.java:379)
E/flattern (13903): bei java.lang.ClassLoader.loadClass(ClassLoader.java:312)
E/Flattern (13903): ... 19 weitere
E/Flattern (13903):
F/flattern (13903): [ FATAL:flatter/shell/platform/android/platform_view_android_jni.cc (77)] Prüfung fehlgeschlagen: CheckException(env).
F/libc (13903): Fatal signal 6 (SIGABRT), Code -6 in tid 13903 (bellacker.lence)


Fingerabdruck erstellen: 'google/sdk_gphone_x86/generic_x86:8.0.0/OSR1.180418.007/5071102:userdebug/dev-keys'
Revision: '0'
ABI: 'x86'
pid: 13903, tid: 13903, Name: bellacker.lence >>> net.uebellacker.lence <<<
Signal 6 (SIGABRT), Code -6 (SI_TKILL), Fehleradr --------
Abbruchmeldung: '[ FATAL:flatter/shell/platform/android/platform_view_android_jni.cc (77)] Prüfung fehlgeschlagen: CheckException(env).
'
eax 00000000 ebx 0000364f ecx 0000364f edx 00000006
esi 0000364f edi bfb5fa08
xcs 00000073 xds 0000007b xes 0000007b xfs 0000003b xss 0000007b
eip a8c64ac4 ebp bfb5fa28 esp bfb5f9bc Flags 00200296
zurückverfolgen:
#00 St. 00000ac4 [vdso:a8c64000] (__kernel_vsyscall+16)
#01 pc 00075b3c /system/lib/libc.so (tgkill+28)
#02 pc 0001f04e /system/lib/libc.so (abort+110)
#03 pc 00c575d7 /data/app/net.uebellacker.lence-ctyssbNk8i8k-LhPcT8s3g==/lib/x86/libflutter.so (Offset 0xc3d000)
#04 pc 00c469ab /data/app/net.uebellacker.lence-ctyssbNk8i8k-LhPcT8s3g==/lib/x86/libflutter.so (Offset 0xc3d000)
#05 pc 00c447a8 /data/app/net.uebellacker.lence-ctyssbNk8i8k-LhPcT8s3g==/lib/x86/libflutter.so (Offset 0xc3d000)
#06 pc 00c9e921 /data/app/net.uebellacker.lence-ctyssbNk8i8k-LhPcT8s3g==/lib/x86/libflutter.so (Offset 0xc3d000)
#07 pc 00c5851f /data/app/net.uebellacker.lence-ctyssbNk8i8k-LhPcT8s3g==/lib/x86/libflutter.so (Offset 0xc3d000)
#08 pc 00c583f0 /data/app/net.uebellacker.lence-ctyssbNk8i8k-LhPcT8s3g==/lib/x86/libflutter.so (Offset 0xc3d000)
#09 pc 00c5820e /data/app/net.uebellacker.lence-ctyssbNk8i8k-LhPcT8s3g==/lib/x86/libflutter.so (Offset 0xc3d000)
#10 pc 00c5d378 /data/app/net.uebellacker.lence-ctyssbNk8i8k-LhPcT8s3g==/lib/x86/libflutter.so (Offset 0xc3d000)
#11 pc 00c5d3a6 /data/app/net.uebellacker.lence-ctyssbNk8i8k-LhPcT8s3g==/lib/x86/libflutter.so (Offset 0xc3d000)
#12 pc 000149b7 /system/lib/libutils.so (_ZN7android20SimpleLooperCallback11handleEventEiiPv+39)
#13 pc 000157ec /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+988)
#14 pc 00015386 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+118)
#15 pc 000e4cbb /system/lib/libandroid_runtime.so (_ZN7androidL38android_os_MessageQueue_nativePollOnceEP7_JNIEnvP8_jobjectxi+59)
#16 pc 007b7df8 /system/framework/x86/boot-framework.oat (Offset 0x5e9000) (android.app.NativeActivity.onWindowFocusChangedNative [DEDUPED]+136)
#17 pc 00638d52 /system/lib/libart.so (art_quick_invoke_stub+338)
#18 pc 00112b48 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+232)
#19 pc 0032322f /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+367)
#20 pc 0031be11 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+817)
#21 pc 0061f83b /system/lib/libart.so (MterpInvokeDirect+523)
#22 pc 00629a21 /system/lib/libart.so (artMterpAsmInstructionStart+14369)
#23 pc 002f5f89 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+537)
#24 pc 002fdf0a /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+234)
#25 pc 0031bde5 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+773)
#26 pc 0061e1a1 /system/lib/libart.so (MterpInvokeVirtual+881)
#27 pc 00629921 /system/lib/libart.so (artMterpAsmInstructionStart+14113)
#28 pc 002f5f89 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+537)
#29 pc 002fdf0a /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+234)
#30 pc 0031bde5 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+773)
#31 pc 0061fb24 /system/lib/libart.so (MterpInvokeStatic+484)
#32 pc 00629aa1 /system/lib/libart.so (artMterpAsmInstructionStart+14497)
#33 pc 002f5f89 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+537)
#34 pc 002fddeb /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+139)
#35 pc 0060e56f /system/lib/libart.so (artQuickToInterpreterBridge+1375)
#36 pc 0063edad /system/lib/libart.so (art_quick_to_interpreter_bridge+77)
#37 pc 00638f22 /system/lib/libart.so (art_quick_invoke_static_stub+418)
#38 pc 00112b92 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+306)
#39 pc 00533065 /system/lib/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+101)
#40 pc 005350f6 /system/lib/libart.so (_ZN3art12InvokeMethodERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectS4_S4_j+1478)
#41 pc 004a2450 /system/lib/libart.so (_ZN3artL13Method_invokeEP7_JNIEnvP8_jobjectS3_S3_+80)
#42 pc 0026dbd8 /system/framework/x86/boot.oat (Offset 0x1df000) (java.lang.Class.getDeclaredMethodInternal [DEDUPED]+168)
#43 pc 00638d52 /system/lib/libart.so (art_quick_invoke_stub+338)
#44 pc 00112b48 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+232)
#45 pc 0032322f /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+367)
#46 pc 0031be11 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+817)
#47 pc 0061e1a1 /system/lib/libart.so (MterpInvokeVirtual+881)
#48 pc 00629921 /system/lib/libart.so (artMterpAsmInstructionStart+14113)
#49 pc 002f5f89 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+537)
#50 pc 002fddeb /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+139)
#51 pc 0060e56f /system/lib/libart.so (artQuickToInterpreterBridge+1375)
Nr. 52 pc 0063edad /system/lib/libart.so (art_quick_to_interpreter_bridge+77)
#53 pc 01618453 /system/framework/x86/boot-framework.oat (Offset 0x5e9000) (com.android.internal.os.ZygoteInit.main+2707)
#54 pc 00638f22 /system/lib/libart.so (art_quick_invoke_static_stub+418)
#55 pc 00112b92 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+306)
#56 pc 00533065 /system/lib/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+101)
#57 pc 00532d29 /system/lib/libart.so (_ZN3art17InvokeWithVarArgsERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDPc+441)
#58 pc 004116d0 /system/lib/libart.so (_ZN3art3JNI21CallStaticVoidMethodVEP7_JNIEnvP7_jclassP10_jmethodIDPc+992)
#59 pc 00152055 /system/lib/libart.so (_ZN3art8CheckJNI11CallMethodVEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDPcNS_9Primitive4TypeENS_10InvokeTypeE+3237)
#60 pc 0013eb0b /system/lib/libart.so (_ZN3art8CheckJNI21CallStaticVoidMethodVEP7_JNIEnvP7_jclassP10_jmethodIDPc+75)
#61 pc 000819be /system/lib/libandroid_runtime.so (_ZN7_JNIEnv20CallStaticVoidMethodEP7_jclassP10_jmethodIDz+62)
#62 pc 00083e96 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime5startEPKcRKNS_6VectorINS_7String8EEEb+838)
#63 pc 00001db3 /system/bin/app_process32 (main+1603)
Bewerbung abgeschlossen.
Anfrage konnte nicht gesendet werden: {"jsonrpc":"2.0","id":"19","method":"getVM","params":{}}`

Flutter Doktor
`
[√] Flutter (Kanal stabil, v1.5.4-Hotfix.2, unter Microsoft Windows [Version 10.0.17134.765], Gebietsschema
de-DE)

[√] Android-Toolchain - für Android-Geräte entwickeln (Android SDK Version 28.0.3)
[√] Android Studio (Version 3.3)
[!] VS-Code (Version 1.33.1)
X Flutter-Erweiterung nicht installiert; installieren von
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Verbundenes Gerät (1 verfügbar)
`

Irgendeine Ahnung, was los ist?

Hilfreichster Kommentar

Ich hatte das gleiche Problem mit den Versionen 5.0.0 und 4.0.3 . Aber nach der Migration zu AndroidX und der Aktualisierung der distributionUrl in android/gradle/wrapper/gradle-wrapper.properties auf diese distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
hat mein Problem für 4.0.3 gelöst. Version 5.0.0 gibt immer noch Fehler aus.

Aktualisieren:
geolocator: ^5.0.0 funktioniert, wenn Sie der Flutter AndroidX-Kompatibilitätsseite genau folgen. Verwenden Sie während der Migration genau die Versionen, die in der Dokumentation in den gradle Dateien bereitgestellt werden. Zuerst habe ich versucht, die neuesten Versionen von androidx Paketen zu verwenden. Vielleicht hatte ich deswegen Probleme.

Alle 2 Kommentare

Gleiches Problem hier.

Ich hatte das gleiche Problem mit den Versionen 5.0.0 und 4.0.3 . Aber nach der Migration zu AndroidX und der Aktualisierung der distributionUrl in android/gradle/wrapper/gradle-wrapper.properties auf diese distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
hat mein Problem für 4.0.3 gelöst. Version 5.0.0 gibt immer noch Fehler aus.

Aktualisieren:
geolocator: ^5.0.0 funktioniert, wenn Sie der Flutter AndroidX-Kompatibilitätsseite genau folgen. Verwenden Sie während der Migration genau die Versionen, die in der Dokumentation in den gradle Dateien bereitgestellt werden. Zuerst habe ich versucht, die neuesten Versionen von androidx Paketen zu verwenden. Vielleicht hatte ich deswegen Probleme.

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen