4

I still hate Android Studio :( :( :(

Worked all morning on my project, debugging, no problem.

Now all of a sudden it crashes whenever I try to debug. java.lang.ClassNotFoundException - random classes.
But it runs fine if I just run the app.

I reverted to my last working commit, and it still does that. I restarted my computer. No luck.

I disabled Instant Run. No luck.

I tried to upgrade gradle to 3.3 - no luck. That's the extent of stack overflow suggestions for similar errors.

I am stumped. What has changed in the middle of a work-session when I have not changed any settings in the IDE, have not updated anything.

Aaarrgh!

Comments
  • 1
    What classes are not found?maybe they are the problem, especially libraries ( Apache Commons,am looking at you)
  • 1
    Try to Invalidate and Restart from the menu. Also try cleaning and rebuilding the project and, as last resource, delete the configuration directory of Android Studio (I had to do this one time, but it fixed my issue).
  • 0
    Use Xcode for awhile, you'll appreciate Android Studio then.
  • 1
    @stisch Rest in Segfaults
  • 0
    @Letmecode if you're going to try again, may I suggest to follow some videos of Derek Banas in YouTube. These really helped me. Today I have one neat app published and another one in development.
  • 2
    Apologies Android Studio, it was an ID10T error after all..

    It wasn't crashing, it was waiting on the debugger to pass a breakpoint because I had foolishly ticked some boxes without thinking about the implications.

    Now happily working again!
Add Comment