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

Java 无法调试,0x00007c37处的致命信号6(SIGABRT)(代码=-6),java,android,debugging,runtime,lang,Java,Android,Debugging,Runtime,Lang,我遇到了以下无法调试android应用程序的情况。我可以运行它,但无法调试它。我开始了一个全新的项目,复制了所有的东西,它工作了(意味着能够调试),但又得到了这个。我在emulator和手机上都试过了,但都没用。我正在使用Android Studio 0.5.1 它一开始就失败了。我觉得它没有进入主要活动。应用程序启动的那一刻,我收到了“不幸的是btbnie停止工作”的消息 感谢您的帮助/指导 03-19 21:10:24.334 31799-31799/com.learn.btnin

我遇到了以下无法调试android应用程序的情况。我可以运行它,但无法调试它。我开始了一个全新的项目,复制了所有的东西,它工作了(意味着能够调试),但又得到了这个。我在emulator和手机上都试过了,但都没用。我正在使用Android Studio 0.5.1

它一开始就失败了。我觉得它没有进入主要活动。应用程序启动的那一刻,我收到了“不幸的是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解决了这个问题。

如果你在Dalvik而不是ART上运行,它能工作吗?不,我也试过了。我现在也遇到了完全相同的问题,它在运行时能按预期工作,但在试着调试我的应用程序时,它会崩溃,出现同样的错误消息。你找到解决这个问题的办法了吗?