Closed nenick closed 9 years ago
The issue is tracked here https://code.google.com/p/android/issues/detail?id=144573
A workaround is to add following line to the module build.gradle android.sourceSets.test.java.srcDirs += "build/generated/source/r/debug"
android.sourceSets.test.java.srcDirs += "build/generated/source/r/debug"
Thanks for sharing!
Fixed with gradle android plugin 1.2.+
The issue is tracked here https://code.google.com/p/android/issues/detail?id=144573
A workaround is to add following line to the module build.gradle
android.sourceSets.test.java.srcDirs += "build/generated/source/r/debug"