1
我想通過調試器查看我的應用程序。當添加斷點時,調試器不會停止在斷點和應用程序崩潰。但是在沒有調試器的情況下啓動應用程序時,一切都像魅力一樣。調試器不停在斷點處,應用程序崩潰
只有我看到logcat的
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
07-28 09:54:28.793 503-590/? W/InputMethodManagerService﹕ Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
07-28 09:54:28.993 10031-10041/? W/art﹕ Suspending all threads took: 6.607ms
07-28 09:54:30.093 503-10176/? W/ActivityManager﹕ Force finishing activity com.companyapp/.MainActivity
07-28 09:54:30.093 503-10176/? W/ActivityManager﹕ Force finishing activity com.companyapp/.LoginScreen
07-28 09:54:30.773 781-1201/? W/OpenGLRenderer﹕ Incorrectly called buildLayer on View: jb, destroying layer...
07-28 09:54:30.773 781-1201/? W/OpenGLRenderer﹕ Incorrectly called buildLayer on View: jb, destroying layer...
07-28 09:54:52.623 3318-3318/? W/LinkRimService﹕ ACTION_BATTERY_CHANGED
07-28 09:54:53.053 503-523/? W/ProcessCpuTracker﹕ Skipping unknown process pid 10374
如何強制調試這個錯誤日誌停止在斷點?
感謝您的幫助。
沒有人解決我的問題。 – salih
這是anrdoid studio 1.0和1.1的問題。我通常會通過拔下插頭裝置來解決問題。你可以嘗試兩個更多的東西1.更新android工作室到最新和2.重新啓動android設備 –