Shared srcDirs between test and androidTest, unresolved references after upgrade to Android Studio Chipmunk (IntelliJ 2021.2.1)
Looks like this feature is no longer supported in new iterations of the Android Studio IDE and IntelliJ platforms. Edit: Sharing code this way no longer works. BUT, there is another method to make it work: Basically, create an android library (sharedTestCode), depend on it in your app via testImplementation and androidTestImplementation. In the sharedTestCode … Read more