热重启时,出现此异常。
Restarted application in 1,467ms. E/Dart (19325): ../../third_party/dart/runtime/vm/object.h: 3213: error: Handle check failed: saw 71 expected Function E/DartVM (19325): version=2.6.0-dev.2.0.flutter-69b5681546 (Tue Sep 24 23:43:24 2019
+0000) on "android_arm64" E/DartVM (19325): thread=19347, isolate=main(0x73750b7c00) E/DartVM (19325): pc 0x0000007363dbd534 fp 0x000000736277f4b0 /data/app/com.example.my_task_app-fHuyAm_aX7345TBFQiu6IQ==/lib/arm64/libflutter.so+0x163c534 E/DartVM (19325): -- End of DumpStackTrace F/libc (19325): Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 19347 (Thread-2), pid 19325 (ple.my_task_app)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'xiaomi/jasmine/jasmine_sprout:9/PKQ1.180904.001/V10.0.14.0.PDIMIXM:user/release-keys' Revision: '0' ABI: 'arm64' pid: 19325, tid: 19347, name: Thread-2 >>> com.example.my_task_app <<< signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
x0 0000000000000000 x1 0000000000004b93 x2 0000000000000006 x3 0000000000000008
x4 8000000000000000 x5 8000000000000000 x6 8000000000000000 x7 0000000000000080
x8 0000000000000083 x9 20562e4c7e113d31 x10 0000000000000000 x11 fffffffc7ffffbdf
x12 0000000000000001 x13 0000000000000038 x14 ffffffffffffffff x15 0000854024547b04
x16 0000007400f552b8 x17 0000007400e76a50 x18 0000000000000010 x19 0000000000004b7d
x20 0000000000004b93 x21 000000736277f6f8 x22 fffffffffffffff0 x23 0000007364113870
x24 ffffffffffffffe8 x25 00000073641102d8 x26 000000736277f700 x27 0000007360d06740
x28 0000000000000004 x29 000000736277f4b0
sp 000000736277f470 lr 0000007400e68084 pc 0000007400e680ac backtrace:
#00 pc 00000000000220ac /system/lib64/libc.so (abort+116)
#01 pc 0000000001524af8 /data/app/com.example.my_task_app-fHuyAm_aX7345TBFQiu6IQ==/lib/arm64/libflutter.so (offset 0x11d0000)
#02 pc 000000000155ef40 /data/app/com.example.my_task_app-fHuyAm_aX7345TBFQiu6IQ==/lib/arm64/libflutter.so (offset 0x11d0000)
#03 pc 00000000016794bc /data/app/com.example.my_task_app-fHuyAm_aX7345TBFQiu6IQ==/lib/arm64/libflutter.so (offset 0x11d0000)
#04 pc 0000000000001668 <anonymous:0000007360cc0000> Lost connection to device.
我卸载时不会发生
flutter_local_notifications: ^0.8.4
但是当我创建另一个项目并复制所有源代码(来自lib),给予相同的权限,安装所有这些软件包时,我没有这样的问题。仅在此项目中发生。不知道是什么原因?如何解决以及造成什么原因?