José González Gómez
05/04/2021, 2:22 PMandroidTest
source set?? I'm getting this:
Warning:project ':xxx': Unable to build Kotlin project configuration
Details: org.gradle.api.InvalidUserDataException: Source directory '/Users/xxx/Documents/projects/xxx/src/androidTest/resources/provider-metadata.json' is not a directory.
when reloading the Gradle project in Android Studio. I've tried putting the file both in the root androidTest/resources
directory and in a nested folder under that directory.
If I do the following it works properly:
1. Remove any files under androidTest/resources
2. Reload the Gradle project in Android Studio
3. Move/copy files to androidTest/resources
4. Run tests to my heart's content without any problem using existing Android Studio's Run/Debug configuration
I can also run ./gradlew build
or ./gradlew test
without any problem with files located under androidTest/resources
... I've even tried to re-create the Android Studio project deleting the .idea
folder and re-opening the project... what am I doing wrong????turansky
05/04/2021, 3:26 PMJosé González Gómez
05/04/2021, 3:30 PMJosé González Gómez
05/04/2021, 3:30 PMJosé González Gómez
05/04/2021, 3:30 PMJosé González Gómez
05/05/2021, 10:54 AM