我在尝试使用Chrome DevTools调试Ionic应用程序时遇到问题。
我运行ionic cordova run android -l -c -
,然后可以打开并检查它
在Chrome DevTools中的“远程设备”内部。
但我无能为力,因为它会立即崩溃。
我在Chrome中收到的唯一消息是:调试连接已关闭。原因:连接丢失。
控制台什么也没显示。
即使在Logat中也没有太多信息:
--------- beginning of crash
04-29 09:03:40.356 30211-30211/it.italprogetti.zebraapp A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x878 in tid 30211 (ogetti.zebraapp)
04-29 09:03:40.464 30390-30390/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Zebra/TC25/TC25FM:7.1.2/04-14-30-0-NG-00-M1/180330:user/release-keys'
Revision: '0'
ABI: 'arm64'
04-29 09:03:40.465 30390-30390/? A/DEBUG: pid: 30211, tid: 30211, name: ogetti.zebraapp >>> it.italprogetti.zebraapp <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x878
x0 0000000000000000 x1 00000000ffffffff x2 0000007ff7340fe8 x3 0000007ff7341110
x4 ffffffffffffffe0 x5 0000000000000040 x6 000000000000003f x7 0000000000000000
x8 0000007f6cbbe000 x9 0000000000000004 x10 0000000000000028 x11 0000000000000000
x12 0000000000000b45 x13 0000000000001000 x14 000000000000000c x15 2e8ba2e8ba2e8ba3
x16 0000007f6cb48870 x17 0000007f819d4240 x18 000000007247b4b8 x19 0000007ff7341110
x20 0000007f82a71b30 x21 0000007f61ca9a58 x22 0000007ff7342e80 x23 0000007f61c40200
x24 0000000000000001 x25 0000007f5ef0ca80 x26 0000007f61ca9a48 x27 0000007f82a71b30
x28 0000000000000001 x29 0000007ff7340fd0 x30 0000007f6a758c54
sp 0000007ff7340fa0 pc 0000007f6a758c8c pstate 0000000060000000
04-29 09:03:40.467 30390-30390/? A/DEBUG: backtrace:
#00 pc 0000000000c4ec8c /data/app/com.android.chrome-2/base.apk (offset 0x124f000)
#01 pc 0000000000c4ec50 /data/app/com.android.chrome-2/base.apk (offset 0x124f000)
04-29 09:03:41.926 1454-30403/? W/ActivityManager: Force finishing activity it.italprogetti.zebraapp/.MainActivity
我该怎么做才能了解问题所在?
谢谢, 费德里科