gpt4 book ai didi

firebase - 执行 flutter run 时获取此日志输出的原因是什么 - 与设备失去连接 - ?

转载 作者:行者123 更新时间:2023-12-03 03:38:24 26 4
gpt4 key购买 nike

  • 为什么设备断开连接并显示日志 - Lost connection to device - after执行 flutter 运行?
  • 登录前一切正常屏幕,用户可以在其中使用 google Sign 正确登录在,但下一个“主页”屏幕,当它开始加载时,中断 & 我收到以下日志,作为与设备失去连接 - 声明。
Build fingerprint: 'HONOR/BND-AL10/HWBND-H:9/HONORBND-AL10/9.1.0.154C675:user/release-keys'
Revision: '0'
ABI: 'arm64'
Happend: 'Sun Dec 1 09:45:39 2019
'
SYSVMTYPE: Art
APPVMTYPE: Art
pid: 29781, tid: 29842, name: 1.ui >>> com.obodo.app <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1
Cause: null pointer dereference
x0 0000000000000001 x1 00000076b7ddde60 x2 00000076b7c00000 x3 0000000000000002
x4 00000000000001dd x5 0000000000000000 x6 00000076b410cef0 x7 0000000000000000
x8 00000076ca3848a0 x9 00000076ca3848a0 x10 00000000000001dd x11 0000000000000000
x12 0000000000000004 x13 0000000000000202 x14 0000000000000002 x15 00000076b410cef0
x16 0000007754b32bd8 x17 0000007754ac6d48 x18 0000000000000001 x19 00000076a31fe820
x20 00000076cda472a0 x21 00000076ac192bb0 x22 00000076ac192ca0 x23 0000000000000045
x24 00000076ca275058 x25 00000076b410d248 x26 0000000000000000 x27 0000000000000001
x28 0000000000000045 x29 00000076b410d3a0
sp 00000076b410d0f0 lr 00000076b52e5c58 pc 00000076b52e1990
backtrace:
#00 pc 00000000011d3990 /data/app/com.obodo.app-zqtWiY4hrLL6aB0_3pwPjA==/lib/arm64/libflutter.so (offset 0x11c0000)
#01 pc 00000000011d7c54 /data/app/com.obodo.app-zqtWiY4hrLL6aB0_3pwPjA==/lib/arm64/libflutter.so (offset 0x11c0000)
#02 pc 00000000011cf744 /data/app/com.obodo.app-zqtWiY4hrLL6aB0_3pwPjA==/lib/arm64/libflutter.so (offset 0x11c0000)
#03 pc 00000000011d5a78 /data/app/com.obodo.app-zqtWiY4hrLL6aB0_3pwPjA==/lib/arm64/libflutter.so (offset 0x11c0000)
#04 pc 00000000011d6154 /data/app/com.obodo.app-zqtWiY4hrLL6aB0_3pwPjA==/lib/arm64/libflutter.so (offset 0x11c0000)
#05 pc 00000000011d55b0 /data/app/com.obodo.app-zqtWiY4hrLL6aB0_3pwPjA==/lib/arm64/libflutter.so (offset 0x11c0000)
#06 pc 00000000011da7c8 /data/app/com.obodo.app-zqtWiY4hrLL6aB0_3pwPjA==/lib/arm64/libflutter.so (offset 0x11c0000)
#07 pc 00000000000142cc /system/lib64/libutils.so (android::Looper::pollInner(int)+932)
#08 pc 0000000000013e8c /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+60)
#09 pc 0000000000012278 /system/lib64/libandroid.so (ALooper_pollOnce+96)
#10 pc 00000000011da74c /data/app/com.obodo.app-zqtWiY4hrLL6aB0_3pwPjA==/lib/arm64/libflutter.so (offset 0x11c0000)
#11 pc 00000000011d54fc /data/app/com.obodo.app-zqtWiY4hrLL6aB0_3pwPjA==/lib/arm64/libflutter.so (offset 0x11c0000)
#12 pc 00000000011d86a0 /data/app/com.obodo.app-zqtWiY4hrLL6aB0_3pwPjA==/lib/arm64/libflutter.so (offset 0x11c0000)
#13 pc 0000000000083588 /system/lib64/libc.so (__pthread_start(void*)+36)
#14 pc 00000000000241dc /system/lib64/libc.so (__start_thread+68)
Lost connection to device.

最佳答案

我得到了一个非常相似的错误并按如下方式解决:

  1. 删除模拟器应用程序或您的物理设备
  2. 关闭模拟器或重启实体设备
  3. 执行flutter clean命令
  4. 关闭 IDE(在我的例子中是 Intellij)
  5. 再次打开项目并运行您的应用。

注意:以上适用于 iOS,我得到了 Lost connection to device

的错误

关于firebase - 执行 flutter run 时获取此日志输出的原因是什么 - 与设备失去连接 - ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59122492/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com