我已经将我的 Nexus 5 升级到了 Android 5,并在 Eclipse Luna 下升级了我的 SDK + 插件。我不能再在我的 android 上调试了!
应用程序日志:
11-26 18:10:54.474: I/art(5890): 后期启用 -Xcheck:jni 11-26 18:10:54.527: W/ActivityThread(5890): 应用程序 com.whizzthrough.android2 正在等待端口 8100 上的调试器... 11-26 18:10:54.527: I/System.out(5890): 发送等待块 11-26 18:10:54.533:I/art(5890):调试器处于活动状态 11-26 18:10:54.594:W/艺术(5890):故障:不支持 modKind=MK_SOURCE_NAME_MATCH 11-26 18:10:54.594: A/art(5890): art/runtime/jdwp/jdwp_request.cc:48] 检查失败:p_ == end_ 读取的字节太少:16 11-26 18:10:54.727: I/System.out(5890): 调试器已连接 11-26 18:10:54.727: I/System.out(5890): 等待调试器解决... 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] 运行时中止... 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] 中止线程: 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] “JDWP”prio=5 tid=6 Runnable 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] | group="" sCount=0 dsCount=0 obj=0x12c24080 self=0xaf30e400 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] | sysTid=5900 nice=0 cgrp=apps sched=0/0 句柄=0xac3a4d00 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] | state=R schedstat=( 7059587 12507969 200 ) utm=0 stm=0 core=2 HZ=100 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] | 堆栈=0xb446b000-0xb446d000 堆栈大小=1012KB 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] | 持有互斥锁=“中止锁”“突变锁”(共享持有) 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] native: #00 pc 00004c58 /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext *)+23) 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] native: #01 pc 000034c1 /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext *)+8) 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] native: #02 pc 002526c5 /system/lib/libart.so (art::DumpNativeStack(std::__1 ::basic_ostream >&, int, char const*, art::mirror::ArtMethod*)+84) 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] native: #03 pc 002361a3 /system/lib/libart.so (art::Thread::Dump(std ::__1::basic_ostream >&) const+162) 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] native: #04 pc 00225b91 /system/lib/libart.so (art::AbortState::DumpThread(std ::__1::basic_ostream >&, art::Thread*)+32) 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] native: #05 pc 00225dfb /system/lib/libart.so (art::AbortState::Dump(std ::__1::basic_ostream >&)+354) 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] native: #06 pc 00225ff3 /system/lib/libart.so (art::Runtime::Abort() +82) 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] native: #07 pc 000a72e9 /system/lib/libart.so (art::LogMessage::~LogMessage( )+1360) 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] native: #08 pc 00198369 /system/lib/libart.so (art::JDWP::Request:: CheckConsumed()+80) 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] native: #09 pc 00193549 /system/lib/libart.so (art::JDWP::JdwpState:: ProcessRequest(art::JDWP::Request&, art::JDWP::ExpandBuf*)+824) 11-26 18:10:54.750: A/art(5890): art/runtime/runtime.cc:284] native: #10 pc 0019561f /system/lib/libart.so (art::JDWP::JdwpState::处理包()+62)
在 Android 4.1.2 上创建一个简单的应用程序并对其进行调试可以工作,在 5.0 上,应用程序在第一行之前关闭(崩溃)。有什么帮助吗?