Describe the bug
I tried to migrate some Android string resources to a Compose Multiplatform project.
These are multiple xml string files.
I get the error:
GenerateResClassTask was failed: java.lang.IllegalStateException: Unknown resource type: 'values'.
The error goes away only if I keep 1 file named "strings.xml".
It seems it only accepts strings resource files called "strings.xml"
Affected platforms
I tried only on Desktop
Versions
Kotlin version*: 1.9.23
Compose Multiplatform version*: 1.6.1
OS version(s)* (required for Desktop and iOS issues): Mac Sonoma 14.4.1
To Reproduce
Steps and/or the code snippet to reproduce the behavior:
create multiple XML string resource files inside the folder "commonMain/composeResources/values"
Expected behavior
it should work with no errors
Additional context
The error goes away only if I keep 1 file named "strings.xml".
It seems it only accepts strings resource files called "strings.xml"
Describe the bug I tried to migrate some Android string resources to a Compose Multiplatform project. These are multiple xml string files. I get the error: GenerateResClassTask was failed: java.lang.IllegalStateException: Unknown resource type: 'values'.
The error goes away only if I keep 1 file named "strings.xml". It seems it only accepts strings resource files called "strings.xml"
Affected platforms I tried only on Desktop
Versions
To Reproduce Steps and/or the code snippet to reproduce the behavior:
Expected behavior it should work with no errors
Additional context The error goes away only if I keep 1 file named "strings.xml". It seems it only accepts strings resource files called "strings.xml"