I can import a sample app project, try to build it and I keep getting this error. Not always the same file but a new temp file each time. I\'ve tried several different sampl
Invalidating the IDE cache is NOT enough.
app\build
Context: Using Coroutines in Android Instrumented Test.
GL
The all files in "app/build" directory in project folder. This will fix the error.
Just clean the project and have a run ! It would work ....
Do This
File -> Invalidate Caches / Restart.. -> Invalidate/ Restart
I had 2 jre's installed when I installed android studio. Uninstall the one that you find from control panel and that is located something like c:\program files\java etc.
On the next opening of android studio 4.0 + it will fallback to "C:\Program Files\Android\Android Studio\jre" and the process lockdown after each succesfull build will stop