问题描述
我在 Windows 10 中使用 Android Studio 4.1.3,但在调试时遇到问题。
如果在调试时不调试或使用恢复程序,应用程序运行正常,但如果尝试单步调试(经过、进入、退出),它会崩溃。
它发生在所有应用程序和所有测试平台(真实设备和仿真)和所有代码行(例如 MainActivity 的 onCreate 的第一行)中。
已经尝试删除所有断点,清理构建,但在此版本中找不到如何禁用 Instant Run。
Logcat:
04-24 10:50:41.174 24394-24397/com.cormorant.poifinder A/art: art/runtime/jdwp/jdwp_handler.cc:1187] Check Failed: modifier_count < 256 (modifier_count=285,256=256)
04-24 10:50:41.214 24394-24397/com.cormorant.poifinder A/art: art/runtime/barrier.cc:90] Check Failed: count_ == 0 (count_=-1,0=0) Attempted to destroy barrier with non zero count
04-24 10:50:41.215 24394-24397/com.cormorant.poifinder A/art: art/runtime/runtime.cc:366] Runtime aborting --- recursively,so no thread-specific detail!
04-24 10:50:41.215 24394-24397/com.cormorant.poifinder A/art: art/runtime/runtime.cc:366]
--------- beginning of crash
04-24 10:50:41.215 24394-24397/com.cormorant.poifinder A/libc: Fatal signal 6 (SIGABRT),code -6 in tid 24397 (JDWP)```
Have anyone any idea? Thanks.
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)