gpt4 book ai didi

java - 无法调试,0x00007c37 处的致命信号 6 (SIGABRT)(代码=-6)

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:15:18 25 4
gpt4 key购买 nike

我遇到了以下无法调试 android 应用程序的情况。我可以运行它但无法调试它。我开始了全新的项目,复制了所有内容并且它有效(意味着能够调试)但又得到了这个。我在模拟器和手机上都试过了,但无济于事。我正在使用 Android Studio 0.5.1

一开始就失败了。感觉没有进入MainActivity。应用程序启动时,我收到“不幸的是 btbnie 已停止工作”消息。

感谢任何帮助/指导...

    03-19 21:10:24.334  31799-31799/com.learn.btnine.btbnine I/System.out? Sending WAIT chunk
03-19 21:10:24.334 31799-31799/com.learn.btnine.btbnine W/ActivityThread? Application com.learn.btnine.btbnine is waiting for the debugger on port 8100...
03-19 21:10:25.034 31799-31809/com.learn.btnine.btbnine I/art? Debugger is active
03-19 21:10:25.144 31799-31799/com.learn.btnine.btbnine I/System.out? Debugger has connected
03-19 21:10:25.144 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:25.344 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:25.544 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:25.744 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:25.944 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:26.144 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:26.344 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:26.544 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:26.754 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:26.954 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:27.154 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:27.354 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:27.554 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:27.754 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:27.954 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:28.154 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:28.354 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:28.554 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:28.754 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:28.954 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...
03-19 21:10:29.154 31799-31799/com.learn.btnine.btbnine I/System.out? waiting for debugger to settle...


03-19 21:10:29.364 31799-31799/com.learn.btnine.btbnine I/System.out? debugger has settled (1455)
03-19 21:10:29.504 31799-31809/com.learn.btnine.btbnine A/art? art/runtime/stack.cc:322] Expected: java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) Found: java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader)
03-19 21:10:29.524 31799-31809/com.learn.btnine.btbnine A/art? art/runtime/stack.cc:322] Expected: java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) Found: java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader)
03-19 21:10:29.524 31799-31809/com.learn.btnine.btbnine A/art? art/runtime/runtime.cc:203] Runtime aborting --- recursively, so no thread-specific detail!
03-19 21:10:29.524 31799-31809/com.learn.btnine.btbnine A/art? art/runtime/runtime.cc:203]
03-19 21:10:29.524 31799-31809/com.learn.btnine.btbnine A/libc? Fatal signal 6 (SIGABRT) at 0x00007c37 (code=-6), thread 31809 (JDWP)

最佳答案

我遇到了同样的事情:ClassLoader 错误后跟 SIGABRT,但仅在运行调试器时才发生。

对我来说,从 ART 切换到 Dalvik 解决了这个问题。

关于java - 无法调试,0x00007c37 处的致命信号 6 (SIGABRT)(代码=-6),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22521636/

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