I have written a simple test case class and placed it in the default test directory for Android Studio: \"src/androidTest\". I\'ve created an Android Tests build configurati
This issue is crazy, it just is. Don't overthink it.
It fixed it for me on Android Studio 3.6.3
These two ways of running tests are different and this approach could fix the issue for you too.