-
Notifications
You must be signed in to change notification settings - Fork 27.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[google_maps_flutter] fatal exception and crash on Android: java.lang.AbstractMethodError #72185
Comments
I am having the same issue with google_maps_flutter: I/Google Maps Android API( 6402): Google Play services client version: 12451000
I/Google Maps Android API( 6402): Google Play services package version: 201817022
E/AndroidRuntime( 6402): FATAL EXCEPTION: main
E/AndroidRuntime( 6402): Process: com.rivex.smart.maceda.debug, PID: 6402
E/AndroidRuntime( 6402): java.lang.AbstractMethodError: abstract method "void io.flutter.plugin.platform.PlatformView.onFlutterViewAttached(android.view.View)"
E/AndroidRuntime( 6402): at io.flutter.plugin.platform.VirtualDisplayController.onFlutterViewAttached(VirtualDisplayController.java:181)
E/AndroidRuntime( 6402): at io.flutter.plugin.platform.PlatformViewsController$1.createVirtualDisplayForPlatformView(PlatformViewsController.java:233)
E/AndroidRuntime( 6402): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:104)
E/AndroidRuntime( 6402): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:59)
E/AndroidRuntime( 6402): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/AndroidRuntime( 6402): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/AndroidRuntime( 6402): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:738)
E/AndroidRuntime( 6402): at android.os.MessageQueue.nativePollOnce(Native Method)
E/AndroidRuntime( 6402): at android.os.MessageQueue.next(MessageQueue.java:335)
E/AndroidRuntime( 6402): at android.os.Looper.loop(Looper.java:183)
E/AndroidRuntime( 6402): at android.app.ActivityThread.main(ActivityThread.java:7656)
E/AndroidRuntime( 6402): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 6402): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/AndroidRuntime( 6402): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
I/Process ( 6402): Sending signal. PID: 6402 SIG: 9
Lost connection to device. flutter doctor -v [✓] Flutter (Channel dev, 1.25.0-8.0.pre, on macOS 11.0.1 20B29 darwin-x64, locale pt-PT)
• Flutter version 1.25.0-8.0.pre at /Users/luisgermanrt/Development/flutter
• Framework revision a12e2a473a (3 days ago), 2020-12-08 23:13:04 -0500
• Engine revision df39e5c515
• Dart version 2.12.0 (build 2.12.0-133.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/luisgermanrt/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.9.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] IntelliJ IDEA Community Edition (version 2020.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 52.0.5
• Dart plugin version 203.5981.152
[✓] VS Code (version 1.52.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.16.0
[✓] Connected device (2 available)
• sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.88
• No issues found! |
Same issue |
This comment was marked as abuse.
This comment was marked as abuse.
Resolved by changing gradle.properties |
I'm also facing the same issue. |
It worked for me, thanks. |
Hey everyone logsLaunching lib/main.dart on RMX2001 in debug mode...
lib/main.dart
Note: /Users/tahatesser/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-1.0.6/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
Connecting to VM Service at ws://127.0.0.1:61279/4M6TrE6kWrE=/ws
I/ple.dev_flutte(22923): ProcessProfilingInfo new_methods=442 is saved saved_to_disk=1 resolve_classes_delay=5000
V/PhoneWindow(22923): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@35f7cf0, this = DecorView@7838c6d[MainActivity]
D/Surface (22923): Surface::connect(this=0x6ff2779000,api=1)
I/SurfaceView(22923): 91355656 visibleChanged:true -> SurfaceHolder.Callback.surfaceCreated
D/Surface (22923): Surface::connect(this=0x6ff277b000,api=1)
D/mali_winsys(22923): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (22923): Surface::setBufferCount(this=0x6ff2779000,bufferCount=4)
D/mali_winsys(22923): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/ViewRootImpl(22923): setSurfaceViewCreated, created:true
I/SurfaceView(22923): 91355656 surfaceChanged -- format=4 w=1080 h=2400 visibleChanged:true -> SurfaceHolder.Callback.surfaceChanged
D/SurfaceView(22923): updateScreenMode w:1080 h:2400 ViewRoot w:1080 h:2400
D/SurfaceView(22923): try to resquest 60Hz
D/ViewRootImpl(22923): set screen refresh mode 1 due to SurfaceView-91355656
D/SurfaceView(22923): updateScreenMode w:1080 h:2400 ViewRoot w:1080 h:2400
D/SurfaceView(22923): try to resquest 60Hz
W/Gralloc3(22923): mapper 3.x is not supported
E/gralloc (22923): Arm Module v1.0
E/ion (22923): ioctl c0044901 failed with code -1: Invalid argument
W/gralloc (22923): WARNING: internal format modifier bits not mutually exclusive. AFBC basic bit is always set, so extended AFBC support bits must always be checked.
W/PlatformViewsController(22923): Creating a virtual display of size: [1080, 2400] may result in problems(https://github.com/flutter/flutter/issues/2897).It is larger than the device screen size: [1080, 2285].
I/BufferQueue(22923): [unnamed-22923-0](this:0x6fff073800,id:0,api:0,p:-1,c:-1) BufferQueue core=(22923:com.example.dev_flutter)
W/ple.dev_flutter(22923): type=1400 audit(0.0:286480): avc: denied { read } for name="u:object_r:debug_bq_dump_prop:s0" dev="tmpfs" ino=3603 scontext=u:r:untrusted_app:s0:c18,c258,c512,c768 tcontext=u:object_r:debug_bq_dump_prop:s0 tclass=file permissive=0
E/libc (22923): Access denied finding property "vendor.debug.bq.dump"
W/ple.dev_flutter(22923): type=1400 audit(0.0:286481): avc: denied { read } for name="u:object_r:debug_bq_dump_prop:s0" dev="tmpfs" ino=3603 scontext=u:r:untrusted_app:s0:c18,c258,c512,c768 tcontext=u:object_r:debug_bq_dump_prop:s0 tclass=file permissive=0
I/BufferQueueConsumer(22923): [unnamed-22923-0](this:0x6fff073800,id:0,api:0,p:-1,c:22923) connect(C): consumer=(22923:com.example.dev_flutter) controlledByApp=true
E/libc (22923): Access denied finding property "vendor.debug.bq.dump"
I/BufferQueueConsumer(22923): [unnamed-22923-0](this:0x6fff073800,id:0,api:0,p:-1,c:22923) setConsumerName: unnamed-22923-0
E/libc (22923): Access denied finding property "vendor.debug.bq.dump"
I/BufferQueueConsumer(22923): [SurfaceTexture-0-22923-0](this:0x6fff073800,id:0,api:0,p:-1,c:22923) setConsumerName: SurfaceTexture-0-22923-0
I/BufferQueueConsumer(22923): [SurfaceTexture-0-22923-0](this:0x6fff073800,id:0,api:0,p:-1,c:22923) setDefaultBufferSize: width=1080 height=2400
I/zzbz (22923): Making Creator dynamically
I/BufferQueueProducer(22923): [SurfaceTexture-0-22923-0](this:0x6fff073800,id:0,api:1,p:787,c:22923) connect(P): api=1 producer=(787:???) producerControlledByApp=false
W/Gralloc3(22923): allocator 3.x is not supported
E/ion (22923): ioctl c0044901 failed with code -1: Invalid argument
D/BufferQueueProducer(22923): [SurfaceTexture-0-22923-0](this:0x6fff073800,id:0,api:1,p:787,c:22923) cancelBuffer: slot 0
W/ple.dev_flutte(22923): Unsupported class loader
W/ple.dev_flutte(22923): Skipping duplicate class check due to unsupported classloader
I/DynamiteModule(22923): Considering local module com.google.android.gms.maps_dynamite:0 and remote module com.google.android.gms.maps_dynamite:203112999
I/DynamiteModule(22923): Selected remote version of com.google.android.gms.maps_dynamite, version >= 203112999
V/DynamiteModule(22923): Dynamite loader version >= 2, using loadModule2NoCrashUtils
D/BufferQueueProducer(22923): [SurfaceTexture-0-22923-0](this:0x6fff073800,id:0,api:1,p:787,c:22923) cancelBuffer: slot 0
I/DynamiteLoaderV2Impl(22923): [71] Mapsdynamite
W/ple.dev_flutte(22923): ClassLoaderContext type mismatch. expected=PCL, found=DLC (PCL[] | DLC[];PCL[/data/app/com.example.dev_flutter-377BkJxkOEZppdp1KdB5Lw==/base.apk*2990805029]{PCL[/system/framework/org.apache.http.legacy.jar*576634005]})
W/ple.dev_flutte(22923): Found duplicate classes, falling back to extracting from APK : /data/user_de/0/com.google.android.gms/app_chimera/m/00000079/MapsDynamite.apk
W/ple.dev_flutte(22923): NOTE: This wastes RAM and hurts startup performance.
W/ple.dev_flutte(22923): Found duplicated class when checking oat files: 'Landroidx/annotation/Keep;' in /data/app/com.example.dev_flutter-377BkJxkOEZppdp1KdB5Lw==/base.apk and /data/user_de/0/com.google.android.gms/app_chimera/m/00000079/MapsDynamite.apk
W/ple.dev_flutte(22923):
D/BufferQueueProducer(22923): [SurfaceTexture-0-22923-0](this:0x6fff073800,id:0,api:1,p:787,c:22923) cancelBuffer: slot 0
I/Google Maps Android API(22923): Google Play services client version: 12451000
D/BufferQueueProducer(22923): [SurfaceTexture-0-22923-0](this:0x6fff073800,id:0,api:1,p:787,c:22923) cancelBuffer: slot 0
I/Google Maps Android API(22923): Google Play services package version: 204516039
D/BufferQueueProducer(22923): [SurfaceTexture-0-22923-0](this:0x6fff073800,id:0,api:1,p:787,c:22923) cancelBuffer: slot 0
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->allocateInstance(Ljava/lang/Class;)Ljava/lang/Object; (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Llibcore/io/Memory;->peekLong(JZ)J (greylist, reflection, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Llibcore/io/Memory;->pokeLong(JJZ)V (greylist, reflection, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Llibcore/io/Memory;->pokeInt(JIZ)V (greylist, reflection, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Llibcore/io/Memory;->peekInt(JZ)I (greylist, reflection, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Llibcore/io/Memory;->pokeByte(JB)V (greylist, reflection, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Llibcore/io/Memory;->peekByte(J)B (greylist, reflection, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Llibcore/io/Memory;->pokeByteArray(J[BII)V (greylist, reflection, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Llibcore/io/Memory;->peekByteArray(J[BII)V (greylist, reflection, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->arrayBaseOffset(Ljava/lang/Class;)I (greylist,core-platform-api, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->arrayIndexScale(Ljava/lang/Class;)I (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Llibcore/io/Memory;->peekByte(J)B (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, reflection, allowed)
W/ple.dev_flutte(22923): Accessing hidden field Ljava/nio/Buffer;->address:J (greylist, reflection, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, reflection, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, reflection, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, reflection, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, reflection, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, reflection, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, reflection, allowed)
D/BufferQueueProducer(22923): [SurfaceTexture-0-22923-0](this:0x6fff073800,id:0,api:1,p:787,c:22923) cancelBuffer: slot 0
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
D/BufferQueueProducer(22923): [SurfaceTexture-0-22923-0](this:0x6fff073800,id:0,api:1,p:787,c:22923) cancelBuffer: slot 0
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
D/BufferQueueProducer(22923): [SurfaceTexture-0-22923-0](this:0x6fff073800,id:0,api:1,p:787,c:22923) cancelBuffer: slot 0
D/ColorExSystemServiceHelper(22923): checkColorExSystemService className = com.google.android.gms.chimera.PersistentDirectBootAwareApiService
D/ColorExSystemServiceHelper(22923): checkColorExSystemService className = com.google.android.gms.maps.auth.ApiTokenService
D/TestOverScroll(22923): getScaledOverscrollDistance: b
W/Google Maps Android API(22923): Deprecation notice: In a future release, indoor will no longer be supported on satellite, hybrid or terrain type maps. Even where indoor is not supported, isIndoorEnabled() will continue to return the value that has been set via setIndoorEnabled(), as it does now. By default, setIndoorEnabled is 'true'. The API release notes (https://developers.google.com/maps/documentation/android-api/releases) will let you know when indoor support becomes unavailable on those map types.
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
W/ple.dev_flutte(22923): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
D/ColorExSystemServiceHelper(22923): checkColorExSystemService className = com.google.android.location.internal.GoogleLocationManagerService
D/WindowManager(22923): Add to mViews: DecorView@ac791cc[MainActivity], this = android.view.WindowManagerGlobal@11a30a2,pkg= com.example.dev_flutter
D/ViewRootImpl[MainActivity](22923): hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
I/InputTransport(22923): Create ARC handle: 0x6fff176c40
E/AndroidRuntime(22923): FATAL EXCEPTION: main
E/AndroidRuntime(22923): Process: com.example.dev_flutter, PID: 22923
E/AndroidRuntime(22923): java.lang.AbstractMethodError: abstract method "void io.flutter.plugin.platform.PlatformView.onFlutterViewAttached(android.view.View)"
E/AndroidRuntime(22923): at io.flutter.plugin.platform.VirtualDisplayController.onFlutterViewAttached(VirtualDisplayController.java:181)
E/AndroidRuntime(22923): at io.flutter.plugin.platform.PlatformViewsController$1.createVirtualDisplayForPlatformView(PlatformViewsController.java:233)
E/AndroidRuntime(22923): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:104)
E/AndroidRuntime(22923): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:59)
E/AndroidRuntime(22923): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/AndroidRuntime(22923): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/AndroidRuntime(22923): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:738)
E/AndroidRuntime(22923): at android.os.MessageQueue.nativePollOnce(Native Method)
E/AndroidRuntime(22923): at android.os.MessageQueue.next(MessageQueue.java:336)
E/AndroidRuntime(22923): at android.os.Looper.loop(Looper.java:182)
E/AndroidRuntime(22923): at android.app.ActivityThread.main(ActivityThread.java:7822)
E/AndroidRuntime(22923): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(22923): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
E/AndroidRuntime(22923): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1026)
D/BufferQueueProducer(22923): [SurfaceTexture-0-22923-0](this:0x6fff073800,id:0,api:1,p:787,c:22923) cancelBuffer: slot 0
I/Process (22923): Sending signal. PID: 22923 SIG: 9
Lost connection to device.
Exited (sigterm)
multiple flutter doctor -v[✓] Flutter (Channel dev, 1.25.0-8.0.pre, on macOS 11.0.1 20B29 darwin-x64,
locale en-GB)
• Flutter version 1.25.0-8.0.pre at /Users/tahatesser/Code/flutter_dev
• Framework revision a12e2a473a (5 days ago), 2020-12-08 23:13:04 -0500
• Engine revision df39e5c515
• Dart version 2.12.0 (build 2.12.0-133.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/tahatesser/Code/sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = /Users/tahatesser/Code/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
• Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.10.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6915495)
[!] Android Studio
• Android Studio at /Applications/Android/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
✗ Android Studio not found at /Applications/Android/Contents
• Try updating or re-installing Android Studio.
[✓] VS Code (version 1.52.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.17.0
[✓] Connected device (5 available)
• RMX2001 (mobile) • EUYTFEUSQSRGDA6D •
android-arm64 • Android 10 (API 29)
• Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios
• iOS 14.2
• iPhone 12 (mobile) • 2188C52E-1D22-45B2-98B8-48401D2B6716 • ios
• com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)
• macOS (desktop) • macos • darwin-x64
• macOS 11.0.1 20B29 darwin-x64
• Chrome (web) • chrome •
web-javascript • Google Chrome 87.0.4280.88
! Doctor found issues in 1 category. [✓] Flutter (Channel master, 1.25.0-9.0.pre.43, on macOS 11.0.1 20B29
darwin-x64, locale en-GB)
• Flutter version 1.25.0-9.0.pre.43 at /Users/tahatesser/Code/flutter_master
• Framework revision 63062a6443 (22 hours ago), 2020-12-13 23:19:13 +0800
• Engine revision 4797b06652
• Dart version 2.12.0 (build 2.12.0-141.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/tahatesser/Code/sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = /Users/tahatesser/Code/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
• Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.10.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6915495)
[!] Android Studio
• Android Studio at /Applications/Android/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
✗ Android Studio not found at /Applications/Android/Contents
• Try updating or re-installing Android Studio.
[✓] VS Code (version 1.52.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.17.0
[✓] Connected device (5 available)
• RMX2001 (mobile) • EUYTFEUSQSRGDA6D •
android-arm64 • Android 10 (API 29)
• Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios
• iOS 14.2
• iPhone 12 (mobile) • 2188C52E-1D22-45B2-98B8-48401D2B6716 • ios
• com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)
• macOS (desktop) • macos • darwin-x64
• macOS 11.0.1 20B29 darwin-x64
• Chrome (web) • chrome •
web-javascript • Google Chrome 87.0.4280.88
! Doctor found issues in 1 category. |
Had same issue while implementing admob ads.. now problem solved. Thanks to @radvansky-tomas and @pamir72 |
Same issue when using qr_code_scanner plugin. Seems to be an issue with virtual display or platform display. |
For me, this happens only in debug builds. |
@amirh Could you have someone look at this, please? |
Unfortunately "android.enableDexingArtifactTransform=false" solved the problem in debug mode, but now I have a crash while starting google_maps with another issue in release mode. I don't know if I should create a new topic for this... E/AndroidRuntime(12428): java.lang.IllegalAccessError: Interface androidx.lifecycle.b implemented by class io.flutter.plugins.googlemaps.GoogleMapController is inaccessible (declaration of 'io.flutter.plugins.googlemaps.GoogleMapController' appears in ...
E/AndroidRuntime(12428): at io.flutter.plugins.googlemaps.g.a(Unknown Source:2)
E/AndroidRuntime(12428): at io.flutter.plugin.platform.SingleViewPresentation.onCreate(Unknown Source:116)
E/AndroidRuntime(12428): at android.app.Dialog.dispatchOnCreate(Dialog.java:702)
E/AndroidRuntime(12428): at android.app.Dialog.show(Dialog.java:424)
E/AndroidRuntime(12428): at android.app.Presentation.show(Presentation.java:283)
E/AndroidRuntime(12428): at io.flutter.plugin.platform.l.<init>(Unknown Source:55)
E/AndroidRuntime(12428): at io.flutter.plugin.platform.l.a(Unknown Source:65)
E/AndroidRuntime(12428): at io.flutter.plugin.platform.k$a.g(Unknown Source:110)
E/AndroidRuntime(12428): at io.flutter.embedding.engine.i.i$a.b(Unknown Source:152)
E/AndroidRuntime(12428): at io.flutter.embedding.engine.i.i$a.G(Unknown Source:144)
E/AndroidRuntime(12428): at f.a.c.a.j$a.a(Unknown Source:17)
E/AndroidRuntime(12428): at io.flutter.embedding.engine.e.b.d(Unknown Source:57)
E/AndroidRuntime(12428): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(Unknown Source:4)
E/AndroidRuntime(12428): at android.os.MessageQueue.nativePollOnce(Native Method)
E/AndroidRuntime(12428): at android.os.MessageQueue.next(MessageQueue.java:336)
E/AndroidRuntime(12428): at android.os.Looper.loop(Looper.java:197)
E/AndroidRuntime(12428): at android.app.ActivityThread.main(ActivityThread.java:8154)
E/AndroidRuntime(12428): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(12428): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
E/AndroidRuntime(12428): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100) |
Temporary solved by adding -keep class androidx.lifecycle.** { *; } in app/proquard-rules.pro but I think it's not a good idea |
I get this issue, but only on release builds. Current Beta and Dev channels. Tap in a None of the above solutions worked for me, but modifying the
|
also having issue, wanna see updates, |
|
We aren't using google_maps_flutter but started seeing this error when we added The error only occurs for us:
|
Also having this issue. flutter doctor -v:
|
I see. Thanks. This is the result of the migration to the Android Gradle plugin 4.1.0 and https://issuetracker.google.com/139821726. |
Does it fix both issues : AbstractMethodError in debug mode and IllegalAccessError in release mode ? |
I have same issue. |
In debug mode it works with: In launch mode it doesn't work with: It crashes in the application and the device is not an Android 11. |
@radvansky-tomas, I always interesting how did you know this?
|
In my case fix bug only in debug build I was able to solve the problem in release build by adding Proguard file to Android project:
|
This helped fix an issue that was only happening in Android 11, crash when a textfield receives focus. Thanks a lot. |
Same issue. i think because i use |
Bumping the minSdkVersion from 16 to 24 in .../android/app/build.gradle fixes the issue |
Thanks @sud0su, it solved the problem both in debug/release mode. |
I had to add |
I have similar problem like @LuisGrt Anyone solved this error ? logsLaunching lib\main.dart on SM P550 in debug mode...
lib\main.dart:1
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Connecting to VM Service at ws://127.0.0.1:52871/f1uMjQPZ07Q=/ws
W/DynamiteModule( 3547): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found.
I/DynamiteModule( 3547): Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerinstaller.dynamite:0
W/ProviderInstaller( 3547): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
D/ConnectivityManager( 3547): requestNetwork; CallingUid : 10164, CallingPid : 3547
W/ProviderInstaller( 3547): Failed to report request stats: reportRequestStats [class android.content.Context, long]
V/NativeCrypto( 3547): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 287 native methods...
I/ProviderInstaller( 3547): Installed default security provider GmsCore_OpenSSL
W/art ( 3547): Before Android 4.1, method double java.util.concurrent.ThreadLocalRandom.internalNextDouble(double, double) would have incorrectly overridden the package-private method in java.util.Random
W/art ( 3547): Before Android 4.1, method int java.util.concurrent.ThreadLocalRandom.internalNextInt(int, int) would have incorrectly overridden the package-private method in java.util.Random
W/art ( 3547): Before Android 4.1, method long java.util.concurrent.ThreadLocalRandom.internalNextLong(long, long) would have incorrectly overridden the package-private method in java.util.Random
D/ConnectivityManager( 3547): requestNetwork; CallingUid : 10164, CallingPid : 3547
D/ViewRootImpl@98740d0[MainActivity]( 3547): Relayout returned: oldFrame=[0,0][768,1024] newFrame=[0,0][768,1024] result=0x1 surface={isValid=true -1891139584} surfaceGenerationChanged=false
I/zzbz ( 3547): Making Creator dynamically
I/DynamiteModule( 3547): Considering local module com.google.android.gms.maps_dynamite:0 and remote module com.google.android.gms.maps_dynamite:203112999
I/DynamiteModule( 3547): Selected remote version of com.google.android.gms.maps_dynamite, version >= 203112999
V/DynamiteModule( 3547): Dynamite loader version >= 2, using loadModule2NoCrashUtils
W/System ( 3547): ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/0000002d/n/armeabi-v7a
W/System ( 3547): ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/0000002d/n/armeabi
I/art ( 3547): Background partial concurrent mark sweep GC freed 81434(5MB) AllocSpace objects, 33(804KB) LOS objects, 78% free, 3MB/15MB, paused 1.389ms total 109.889ms
I/Google Maps Android API( 3547): Google Play services client version: 12451000
I/Google Maps Android API( 3547): Google Play services package version: 210915015
2
I/System.out( 3547): (HTTPLog)-Static: isSBSettingEnabled false
D/ViewRootImpl@fee3f48[MainActivity]( 3547): ThreadedRenderer.create() translucent=true
D/InputTransport( 3547): Input channel constructed: fd=160
D/ViewRootImpl@fee3f48[MainActivity]( 3547): setView = DecorView@96911e1[MainActivity] touchMode=true
V/InputMethodManager( 3547): Not IME target window, ignoring
D/ViewRootImpl@fee3f48[MainActivity]( 3547): dispatchAttachedToWindow
D/ViewRootImpl@fee3f48[MainActivity]( 3547): Relayout returned: oldFrame=[0,0][0,0] newFrame=[0,0][768,896] result=0x27 surface={isValid=true 2056685568} surfaceGenerationChanged=true
D/ViewRootImpl@fee3f48[MainActivity]( 3547): mHardwareRenderer.initialize() mSurface={isValid=true 2056685568} hwInitialized=true
D/SurfaceView( 3547): Relayout returned: oldFrame=[0,0][0,0] newFrame=[0,0][768,896] result=0x7 surface={Surface(name=null)/@0xec0f763 isValid=true -2143178752}
D/ViewRootImpl@fee3f48[MainActivity]( 3547): Relayout returned: oldFrame=[0,0][768,896] newFrame=[0,0][768,896] result=0x1 surface={isValid=true 2056685568} surfaceGenerationChanged=false
D/SurfaceView( 3547): Relayout returned: oldFrame=[0,0][768,896] newFrame=[0,0][768,896] result=0x1 surface={Surface(name=null)/@0xec0f763 isValid=true -2143176704}
D/ViewRootImpl@fee3f48[MainActivity]( 3547): MSG_RESIZED_REPORT: frame=Rect(0, 0 - 768, 896) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1
2
I/System.out( 3547): (HTTPLog)-Static: isSBSettingEnabled false
W/DynamiteModule( 3547): Local module descriptor class for com.google.android.gms.googlecertificates not found.
I/DynamiteModule( 3547): Considering local module com.google.android.gms.googlecertificates:0 and remote module com.google.android.gms.googlecertificates:6
I/DynamiteModule( 3547): Selected remote version of com.google.android.gms.googlecertificates, version >= 6
W/System ( 3547): ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/0000002c/n/armeabi-v7a
W/System ( 3547): ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/0000002c/n/armeabi
2
I/System.out( 3547): (HTTPLog)-Static: isSBSettingEnabled false |
Same issue Running Gradle task 'assembleDebug'... |
it does not work for me |
It also does not work for me. I think this is a problem that emerged again recently. |
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of |
Yes it is also not working for me. |
when I call interstitial ad to show (package google_mobile_ads : ^0.12.1+1) , this happens;
|
Been having the exact same issue for days now. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
After upgrading to Flutter (Channel dev, 1.25.0-8.0.pre), when I start google maps (google_maps_flutter: 1.0.6), I have an issuer and crash:
flutter doctor -v
Note:
Tested
Android 9, Android 10, Android 11 - exception and crash
Android 6 - ok
The text was updated successfully, but these errors were encountered: