I'm new to Android dev so I may be missing something obvious that I can try.
I'm trying to debug some code but the debugger is stepping through the old version of the code, and not current version in my project.
Clearly it has skipped past my exception 'throw' and into commented code
I have tried:
This is actually the cwac demo v9, so it's a demo app that uses the 'camera' library, and it is in the cwac camera library project that I am debugging.
What's unclear to me is where and what is built by gradle, so I haven't 'hard cleaned' anything from Windows explorer. I can't even check file dates...
What tips can you give me please for how to check that the latest code is going out to the device?
Thanks.
Try this. Open up your app's build.gradle file, and make a change (just add white space). Then, click the "Sync Now" button in the top right corner.
I am not too sure what is going on with caching, but this seemed to fix it for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With