I am working on an Android app with Android Studio and almost whenever I try to inspect variables the debugger gets stuck on "Evaluating".
I was suspecting that this was occurring when trying to debug a background task (which is nonsense too), but the fact is now I'm trying to debug and inspect variables in the main thread, so now it is me who is stuck.
I tried some solutions found on Stack Overflow to no avail, like this:
IntelliJ IDEA stuck at "collecting data" while debug
I've just disabled "Enabled alternative views for Collections classes" in settings, as the post suggest, but nothing happened.
How can I get back to being able to debug and inspect variables correctly?

Had the same issue after upgrading to hedgehog. Somehow the buildconfiguration got set up wrong. I had to change com.mypackage. to com.mypackage.myapp Then Cleaning the project as well as invalidating all caches fixed it for me. However instantiating the tests now takes a lot more time than in the previous version.