• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps DexFile.class not letting me debug

cr5315

Android Enthusiast
I'm working on my app and I started a debug to my 2.1 phone when Eclipse opened a new tab of DexFile.class. The app opened on my phone, but it's just a black screen with the title of the app on the top, like it's supposed to. I've haven't tried an emulator yet, mostly because my dev computer is a little too slow to run it well, but I'll try that soon. I think there was an error with it the first time, but I can't seem to get it to come back. I'll also try exporting the app into a .apk and install it without Eclipse.

Any info about the DexFile.class would be appreciated.
 
A little late on the reply, but It seems to have to do with putting a breakpoint on the same line as a class def, or something stupid like that. The best way I have found is to go into the breakpoint view in Eclipse, and delete all your breakpoints (Assuming you don't know where the stray breakpoint is... I never do). You can then re-add your breakpoints, just be careful to not put them on class def (and maybe function def) lines and you should be golden.
 
Back
Top Bottom