-
Notifications
You must be signed in to change notification settings - Fork 54
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
Example crash #3
Labels
bug
Something isn't working
Comments
hello. thanks for the report. we will look at it this week. |
Hi, same problem here link to gist: |
Closed
I am also facing same issue...
|
We have forgotten to migrate example to AndroidX. Should work now |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
The example crashes when I tap on the get all button on Android.
Behavior
D/ViewRootImpl( 7709): ViewPostImeInputStage ACTION_DOWN
E/flutter ( 7709): [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(40)] java.lang.NoSuchMethodError: No virtual method checkSelfPermission(Ljava/lang/String;)I in class Landroid/app/Activity; or its super classes (declaration of 'android.app.Activity' appears in /system/framework/framework.jar)
E/flutter ( 7709): at sk.fourq.calllog.CallLogPlugin.onMethodCall(CallLogPlugin.java:52)
E/flutter ( 7709): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:201)
E/flutter ( 7709): at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:88)
E/flutter ( 7709): at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:202)
E/flutter ( 7709): at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter ( 7709): at android.os.MessageQueue.next(MessageQueue.java:143)
E/flutter ( 7709): at android.os.Looper.loop(Looper.java:130)
E/flutter ( 7709): at android.app.ActivityThread.main(ActivityThread.java:6934)
E/flutter ( 7709): at java.lang.reflect.Method.invoke(Native Method)
E/flutter ( 7709): at java.lang.reflect.Method.invoke(Method.java:372)
E/flutter ( 7709): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
E/flutter ( 7709): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
E/flutter ( 7709):
F/flutter ( 7709): [FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(77)] Check failed: CheckException(env).
F/libc ( 7709): Fatal signal 6 (SIGABRT), code -6 in tid 7709 (.calllogexample)
Build fingerprint: 'samsung/j1mini3gxw/j1mini3gxw:5.1.1/LMY47V/J105HXWU0ARD1:user/release-keys'
Revision: '2'
ABI: 'arm'
pid: 7709, tid: 7709, name: .calllogexample >>> sk.fourq.calllogexample <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(77)] Check failed: CheckException(env).
'
r0 00000000 r1 00001e1d r2 00000006 r3 00000000
r4 b6f3be38 r5 00000006 r6 0000000b r7 0000010c
r8 becefdc4 r9 00000004 sl 00000001 fp a1868208
ip 00001e1d sp becefca8 lr b6d94735 pc b6db7f5c cpsr 600e0010
backtrace:
#00 pc 0003af5c /system/lib/libc.so (tgkill+12)
#1 pc 00017731 /system/lib/libc.so (pthread_kill+52)
#2 pc 00018347 /system/lib/libc.so (raise+10)
#3 pc 00014be1 /system/lib/libc.so (__libc_android_abort+36)
#4 pc 00012f70 /system/lib/libc.so (abort+4)
#5 pc 0002f157 /data/app/sk.fourq.calllogexample-2/lib/arm/libflutter.so
#6 pc 000257c9 /data/app/sk.fourq.calllogexample-2/lib/arm/libflutter.so
#7 pc 00024c29 /data/app/sk.fourq.calllogexample-2/lib/arm/libflutter.so
#8 pc 0005629d /data/app/sk.fourq.calllogexample-2/lib/arm/libflutter.so
#9 pc 00030339 /data/app/sk.fourq.calllogexample-2/lib/arm/libflutter.so
#10 pc 00031835 /data/app/sk.fourq.calllogexample-2/lib/arm/libflutter.so
#11 pc 00011aa7 /system/lib/libutils.so (_ZN7android20SimpleLooperCallback11handleEventEiiPv+10)
#12 pc 00012709 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+484)
#13 pc 000127b1 /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+92)
#14 pc 00088a45 /system/lib/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvi+22)
#15 pc 000b6fe3 /system/framework/arm/boot.oat
Tombstone written to: /data/tombstones/tombstone_08
Configuration
The text was updated successfully, but these errors were encountered: