How to solve debug issue

Marco Espinoza :

Everything was working just fine, but then when I tried to debug again my app. It didn't work and instead, I got the message,

"alternative source available for the class java.lang.class android studio"

I didn't know what it meant. I clicked on disable, now I can't debug anymore and it says the library Dalvik.annotation.optimization.FastNative is not found (java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available)

Does somebody know how to fix this issue? I can run the app, but as you know.. debugging is very useful, especially for someone like me. That has been working with android for just one month ago

I'm using Android Studio 3.6

This is the screen I get when I try to debug

Marco Espinoza :

At the end, the solution was to disable the breakpoints. Especifically the Java Exception breakpoints and Excepction breakpoints, also deleted all my breakpoints just in case. And I can debug again!

To delete breakpoints just go to Run>>View Breakpointsand and uncheck

I hope this helps other newbies like me

This is the screen, just uncheck the "lighting" breakpoints

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=15435&siteId=1