Has anybody faced problems when including resource...
# multiplatform
j
Has anybody faced problems when including resources in the
androidTest
source set?? I'm getting this:
Copy code
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????
t
It can be related to KT-34650
j
🤦‍♂️
I don't know if this is the issue I'm facing, but I'm starting to feel that I step on a mine with every single thing I try to do 😞
Thanks!