flutter-mapbox-gl / maps

A Mapbox GL flutter package for creating custom maps
Other
1.04k stars 501 forks source link

App crashing on API 30 #441

Closed TimmyRB closed 3 years ago

TimmyRB commented 4 years ago

I can compile and run the app, however, when the app tries to load the Map, it crashes with this long error log.

Launching lib\main.dart on Pixel 2 XL in debug mode...
lib\main.dart
✓ Built build\app\outputs\flutter-apk\app-debug.apk.
Connecting to VM Service at ws://127.0.0.1:59408/7uZwRLMCkrI=/ws
E/MapboxMapBuilder( 8837): setCameraTargetBounds is supported only after map initiated.
W/CrashReporter( 8837): Root directory doesn't exist
W/Gralloc4( 8837): allocator 3.x is not supported
W/Gralloc3( 8837): allocator 3.x is not supported
E/Mbgl-LibraryLoader( 8837): Failed to load native shared library.
E/Mbgl-LibraryLoader( 8837): java.lang.UnsatisfiedLinkError: dlopen failed: library "libmapbox-gl.so" not found
E/Mbgl-LibraryLoader( 8837):    at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
E/Mbgl-LibraryLoader( 8837):    at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
E/Mbgl-LibraryLoader( 8837):    at java.lang.System.loadLibrary(System.java:1664)
E/Mbgl-LibraryLoader( 8837):    at com.mapbox.mapboxsdk.module.loader.LibraryLoaderProviderImpl$SystemLibraryLoader.load(LibraryLoaderProviderImpl.java:29)
E/Mbgl-LibraryLoader( 8837):    at com.mapbox.mapboxsdk.LibraryLoader.load(LibraryLoader.java:43)
E/Mbgl-LibraryLoader( 8837):    at com.mapbox.mapboxsdk.net.NativeConnectivityListener.<clinit>(NativeConnectivityListener.java:13)
E/Mbgl-LibraryLoader( 8837):    at com.mapbox.mapboxsdk.net.ConnectivityReceiver.instance(ConnectivityReceiver.java:43)
E/Mbgl-LibraryLoader( 8837):    at com.mapbox.mapboxsdk.Mapbox.getInstance(Mapbox.java:67)
E/Mbgl-LibraryLoader( 8837):    at com.mapbox.mapboxgl.MapboxMapController.<init>(MapboxMapController.java:153)
E/Mbgl-LibraryLoader( 8837):    at com.mapbox.mapboxgl.MapboxMapBuilder.build(MapboxMapBuilder.java:34)
E/Mbgl-LibraryLoader( 8837):    at com.mapbox.mapboxgl.MapboxMapFactory.create(MapboxMapFactory.java:37)
E/Mbgl-LibraryLoader( 8837):    at io.flutter.plugin.platform.SingleViewPresentation.onCreate(SingleViewPresentation.java:186)
E/Mbgl-LibraryLoader( 8837):    at android.app.Dialog.dispatchOnCreate(Dialog.java:419)
E/Mbgl-LibraryLoader( 8837):    at android.app.Dialog.show(Dialog.java:313)
E/Mbgl-LibraryLoader( 8837):    at android.app.Presentation.show(Presentation.java:257)
E/Mbgl-LibraryLoader( 8837):    at io.flutter.plugin.platform.VirtualDisplayController.<init>(VirtualDisplayController.java:95)
E/Mbgl-LibraryLoader( 8837):    at io.flutter.plugin.platform.VirtualDisplayController.create(VirtualDisplayController.java:48)
E/Mbgl-LibraryLoader( 8837):    at io.flutter.plugin.platform.PlatformViewsController$1.createVirtualDisplayForPlatformView(PlatformViewsController.java:207)
E/Mbgl-LibraryLoader( 8837):    at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:104)
E/Mbgl-LibraryLoader( 8837):    at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:59)
E/Mbgl-LibraryLoader( 8837):    at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/Mbgl-LibraryLoader( 8837):    at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/Mbgl-LibraryLoader( 8837):    at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692)
E/Mbgl-LibraryLoader( 8837):    at android.os.MessageQueue.nativePollOnce(Native Method)
E/Mbgl-LibraryLoader( 8837):    at android.os.MessageQueue.next(MessageQueue.java:335)
E/Mbgl-LibraryLoader( 8837):    at android.os.Looper.loop(Looper.java:183)
E/Mbgl-LibraryLoader( 8837):    at android.app.ActivityThread.main(ActivityThread.java:7656)
E/Mbgl-LibraryLoader( 8837):    at java.lang.reflect.Method.invoke(Native Method)
E/Mbgl-LibraryLoader( 8837):    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/Mbgl-LibraryLoader( 8837):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
E/obbrasil.parti( 8837): No implementation found for void com.mapbox.mapboxsdk.net.NativeConnectivityListener.initialize() (tried Java_com_mapbox_mapboxsdk_net_NativeConnectivityListener_initialize and Java_com_mapbox_mapboxsdk_net_NativeConnectivityListener_initialize__)
E/flutter ( 8837): [ERROR:flutter/shell/platform/android/platform_view_android_jni_impl.cc(43)] java.lang.UnsatisfiedLinkError: No implementation found for void com.mapbox.mapboxsdk.net.NativeConnectivityListener.initialize() (tried Java_com_mapbox_mapboxsdk_net_NativeConnectivityListener_initialize and Java_com_mapbox_mapboxsdk_net_NativeConnectivityListener_initialize__)
E/flutter ( 8837):  at com.mapbox.mapboxsdk.net.NativeConnectivityListener.initialize(Native Method)
E/flutter ( 8837):  at com.mapbox.mapboxsdk.net.NativeConnectivityListener.<init>(NativeConnectivityListener.java:27)
E/flutter ( 8837):  at com.mapbox.mapboxsdk.net.ConnectivityReceiver.instance(ConnectivityReceiver.java:43)
E/flutter ( 8837):  at com.mapbox.mapboxsdk.Mapbox.getInstance(Mapbox.java:67)
E/flutter ( 8837):  at com.mapbox.mapboxgl.MapboxMapController.<init>(MapboxMapController.java:153)
E/flutter ( 8837):  at com.mapbox.mapboxgl.MapboxMapBuilder.build(MapboxMapBuilder.java:34)
E/flutter ( 8837):  at com.mapbox.mapboxgl.MapboxMapFactory.create(MapboxMapFactory.java:37)
E/flutter ( 8837):  at io.flutter.plugin.platform.SingleViewPresentation.onCreate(SingleViewPresentation.java:186)
E/flutter ( 8837):  at android.app.Dialog.dispatchOnCreate(Dialog.java:419)
E/flutter ( 8837):  at android.app.Dialog.show(Dialog.java:313)
E/flutter ( 8837):  at android.app.Presentation.show(Presentation.java:257)
E/flutter ( 8837):  at io.flutter.plugin.platform.VirtualDisplayController.<init>(VirtualDisplayController.java:95)
E/flutter ( 8837):  at io.flutter.plugin.platform.VirtualDisplayController.create(VirtualDisplayController.java:48)
E/flutter ( 8837):  at io.flutter.plugin.platform.PlatformViewsController$1.createVirtualDisplayForPlatformView(PlatformViewsController.java:207)
E/flutter ( 8837):  at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:104)
E/flutter ( 8837):  at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:59)
E/flutter ( 8837):  at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/flutter ( 8837):  at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/flutter ( 8837):  at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:692)
E/flutter ( 8837):  at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter ( 8837):  at android.os.MessageQueue.next(MessageQueue.java:335)
E/flutter ( 8837):  at android.os.Looper.loop(Looper.java:183)
E/flutter ( 8837):  at android.app.ActivityThread.main(ActivityThread.java:7656)
E/flutter ( 8837):  at java.lang.reflect.Method.invoke(Native Method)
E/flutter ( 8837):  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/flutter ( 8837):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
E/flutter ( 8837):
F/flutter ( 8837): [FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(942)] Check failed: CheckException(env).
F/libc    ( 8837): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 8837 (obbrasil.partii), pid 8837 (obbrasil.partii)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'google/taimen/taimen:11/RP1A.201005.004/6782484:user/release-keys'
Revision: 'rev_10'
ABI: 'arm64'
Timestamp: 2020-10-25 17:05:45-0400
pid: 8837, tid: 8837, name: obbrasil.partii  >>> com.jacobbrasil.partii <<<
uid: 10451
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(942)] Check failed: CheckException(env).
'
    x0  0000000000000000  x1  0000000000002285  x2  0000000000000006  x3  0000007fc0fa1170
    x4  62646d6d6e426475  x5  62646d6d6e426475  x6  62646d6d6e426475  x7  7f7f7f7f7f7f7f7f
    x8  00000000000000f0  x9  0000007faee727f8  x10 ffffff80fffffbdf  x11 0000000000000001
    x12 0000000000000000  x13 0000000000000073  x14 0000007fc0fa0020  x15 00090468a4979e03
    x16 0000007faef0bc80  x17 0000007faeeecf20  x18 0000007fb0f3a000  x19 00000000000000ac
    x20 0000000000002285  x21 00000000000000b2  x22 0000000000002285  x23 00000000ffffffff
    x24 0000007dbaa2e4e8  x25 0000007faff0a000  x26 0000000000000001  x27 0000000000000039
    x28 0000000000000001  x29 0000007fc0fa11f0
    lr  0000007faeea00c4  sp  0000007fc0fa1150  pc  0000007faeea00f4  pst 0000000000000000
backtrace:
      #00 pc 000000000004e0f4  /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: c78cdff5b820a550771130d6bde95081)
      #01 pc 0000000001288004  /data/app/~~UFfUvo5REyQ_LOytqsYWrA==/com.jacobbrasil.partii-xLZfGFw6i2nFKtwyHuPGZA==/lib/arm64/libflutter.so (BuildId: 8d68c575944b2191a8d461c9d04ec82c003e099c)
      #02 pc 0000000001278870  /data/app/~~UFfUvo5REyQ_LOytqsYWrA==/com.jacobbrasil.partii-xLZfGFw6i2nFKtwyHuPGZA==/lib/arm64/libflutter.so (BuildId: 8d68c575944b2191a8d461c9d04ec82c003e099c)
      #03 pc 0000000001274f10  /data/app/~~UFfUvo5REyQ_LOytqsYWrA==/com.jacobbrasil.partii-xLZfGFw6i2nFKtwyHuPGZA==/lib/arm64/libflutter.so (BuildId: 8d68c575944b2191a8d461c9d04ec82c003e099c)
      #04 pc 00000000012c7d78  /data/app/~~UFfUvo5REyQ_LOytqsYWrA==/com.jacobbrasil.partii-xLZfGFw6i2nFKtwyHuPGZA==/lib/arm64/libflutter.so (BuildId: 8d68c575944b2191a8d461c9d04ec82c003e099c)
      #05 pc 000000000128897c  /data/app/~~UFfUvo5REyQ_LOytqsYWrA==/com.jacobbrasil.partii-xLZfGFw6i2nFKtwyHuPGZA==/lib/arm64/libflutter.so (BuildId: 8d68c575944b2191a8d461c9d04ec82c003e099c)
      #06 pc 000000000128da3c  /data/app/~~UFfUvo5REyQ_LOytqsYWrA==/com.jacobbrasil.partii-xLZfGFw6i2nFKtwyHuPGZA==/lib/arm64/libflutter.so (BuildId: 8d68c575944b2191a8d461c9d04ec82c003e099c)
      #07 pc 000000000001a064  /system/lib64/libutils.so (android::Looper::pollInner(int)+916) (BuildId: b81fad2b6b7b7f85c6217d2cb80c9e61)
      #08 pc 0000000000019c68  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112) (BuildId: b81fad2b6b7b7f85c6217d2cb80c9e61)
      #09 pc 00000000001120f4  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44) (BuildId: 30f3430e4d2a28be49d3c60d623f0a29)
      #10 pc 000000000020fadc  /system/framework/arm64/boot-framework.oat (art_jni_trampoline+140) (BuildId: 98e40a69ddb0d1389b27ba92f7744d942059c3d4)
      #11 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: d0f321775158ed00df284edfabf672b6)
      #12 pc 00000000001a97e8  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: d0f321775158ed00df284edfabf672b6)
      #13 pc 000000000031c040  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: d0f321775158ed00df284edfabf672b6)
      #14 pc 0000000000312228  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+912) (BuildId: d0f321775158ed00df284edfabf672b6)
      #15 pc 0000000000687d48  /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+576) (BuildId: d0f321775158ed00df284edfabf672b6)
      #16 pc 000000000012d914  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: d0f321775158ed00df284edfabf672b6)
      #17 pc 00000000003975ae  /system/framework/framework.jar (offset 0x92b000) (android.os.MessageQueue.next+34)
      #18 pc 0000000000685960  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: d0f321775158ed00df284edfabf672b6)
      #19 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: d0f321775158ed00df284edfabf672b6)
      #20 pc 0000000000396964  /system/framework/framework.jar (offset 0x92b000) (android.os.Looper.loop+156)
      #21 pc 00000000003094d0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.7618685802058321727)+264) (BuildId: d0f321775158ed00df284edfabf672b6)
      #22 pc 0000000000311840  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+200) (BuildId: d0f321775158ed00df284edfabf672b6)
      #23 pc 0000000000312b9c  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1772) (BuildId: d0f321775158ed00df284edfabf672b6)
      #24 pc 0000000000178658  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<true, false>(art::interpreter::SwitchImplContext*)+58656) (BuildId: d0f321775158ed00df284edfabf672b6)
      #25 pc 000000000013f7d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: d0f321775158ed00df284edfabf672b6)
      #26 pc 00000000001a1698  /system/framework/framework.jar (android.app.ActivityThread.main)
      #27 pc 00000000003095d8  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.7618685802058321727)+528) (BuildId: d0f321775158ed00df284edfabf672b6)
      #28 pc 00000000006740c0  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+776) (BuildId: d0f321775158ed00df284edfabf672b6)
      #29 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: d0f321775158ed00df284edfabf672b6)
      #30 pc 00000000001337e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: d0f321775158ed00df284edfabf672b6)
      #31 pc 00000000001a9804  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: d0f321775158ed00df284edfabf672b6)
      #32 pc 000000000055ce14  /apex/com.android.art/lib64/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1364) (BuildId: d0f321775158ed00df284edfabf672b6)
      #33 pc 00000000004dba28  /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+48) (BuildId: d0f321775158ed00df284edfabf672b6)
      #34 pc 00000000000896f4  /apex/com.android.art/javalib/arm64/boot.oat (art_jni_trampoline+180) (BuildId: 13577ce71153c228ecf0eb73fc39f45010d487f8)
      #35 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: d0f321775158ed00df284edfabf672b6)
      #36 pc 00000000001a97e8  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: d0f321775158ed00df284edfabf672b6)
      #37 pc 000000000031c040  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: d0f321775158ed00df284edfabf672b6)
      #38 pc 0000000000312228  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+912) (BuildId: d0f321775158ed00df284edfabf672b6)
      #39 pc 00000000006856c0  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+848) (BuildId: d0f321775158ed00df284edfabf672b6)
      #40 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: d0f321775158ed00df284edfabf672b6)
      #41 pc 00000000004492be  /system/framework/framework.jar (offset 0x125d000) (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
      #42 pc 00000000003094d0  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.7618685802058321727)+264) (BuildId: d0f321775158ed00df284edfabf672b6)
      #43 pc 00000000006740c0  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+776) (BuildId: d0f321775158ed00df284edfabf672b6)
      #44 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: d0f321775158ed00df284edfabf672b6)
      #45 pc 0000000000897668  /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2280) (BuildId: 98e40a69ddb0d1389b27ba92f7744d942059c3d4)
      #46 pc 00000000001337e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: d0f321775158ed00df284edfabf672b6)
      #47 pc 00000000001a9804  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: d0f321775158ed00df284edfabf672b6)
      #48 pc 000000000055b830  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+448) (BuildId: d0f321775158ed00df284edfabf672b6)
      #49 pc 000000000055bcf4  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+92) (BuildId: d0f321775158ed00df284edfabf672b6)
      #50 pc 000000000043ecbc  /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+652) (BuildId: d0f321775158ed00df284edfabf672b6)
      #51 pc 000000000009948c  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+124) (BuildId: 30f3430e4d2a28be49d3c60d623f0a29)
      #52 pc 00000000000a0a0c  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+844) (BuildId: 30f3430e4d2a28be49d3c60d623f0a29)
      #53 pc 0000000000003570  /system/bin/app_process64 (main+1320) (BuildId: d4686d3f8282764488eb9ca7cc518583)
      #54 pc 00000000000495b4  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: c78cdff5b820a550771130d6bde95081)
Lost connection to device.
Exited (sigterm)

I know this was working a month or two ago and I haven't changed anything since except for updating Flutter and the plugin.

andrea689 commented 4 years ago

Try to update buildTypes in android\app\build.gradle

buildTypes {
    release {
        // other configs
        ndk {
            abiFilters 'armeabi-v7a','arm64-v8a','x86_64'
        }
    }
}
kalucky0 commented 3 years ago

It didn't help me. I'm still getting the error. https://hastebin.com/ixasenedag.log

vanlooverenkoen commented 3 years ago

@andrea689 I am using android app bundles in the playstore. Do I still need to add the abiFilters or not?

andrea689 commented 3 years ago

@vanlooverenkoen yes, also add x86: https://github.com/tobrun/flutter-mapbox-gl#avoid-android-unsatisfiedlinkerror

vanlooverenkoen commented 3 years ago

Yes I saw that. I was not sure if it was needed for app bundles as well. I thought it was only for apk builds. Thanks

vrman commented 3 years ago

i have same problem with flutter 2.0 , android 11 . it works on android 10 but i got same error message in android 11

mayouf commented 3 years ago

any update here ?

samatzp commented 2 years ago

some problem

EgorFromJimmy commented 2 years ago

It is still a problem. Flutter 2.10.1

aardrop commented 1 year ago

I'm getting this problem again with the newest version of flutter, anyone else?

W/Parcel  (13205): Expecting binder but got null!
D/CompatibilityChangeReporter(13205): Compat change id reported: 78294732; UID 10173; state: DISABLED
D/CompatibilityChangeReporter(13205): Compat change id reported: 160794467; UID 10173; state: ENABLED
W/CrashReporter(13205): Root directory doesn't exist
D/EGL_emulation(13205): app_time_stats: avg=594.61ms min=1.48ms max=6795.89ms count=14
W/TelemetryUtils(13205): java.lang.SecurityException: getDataNetworkTypeForSubscriber
I/PlatformViewsController(13205): Hosting view in view hierarchy for platform view: 0
E/FrameEvents(13205): updateAcquireFence: Did not find frame.
W/Parcel  (13205): Expecting binder but got null!
E/LocationCollectionCli(13205): java.lang.IncompatibleClassChangeError: Found interface com.google.android.gms.location.FusedLocationProviderClient, but class was expected (declaration of 'com.google.android.gms.location.FusedLocationProviderClient' appears in /data/app/~~ku-rVqhGMdrPd0K3hamOZA==/com.mapbox.mapboxglexample-iKYO3w-tauHrAixb0vsprw==/base.apk!classes2.dex)