I am usually name my file in camelCase (like tabActive
). But it is not allowed in Android.
Is there any reason why android xml file name must contains only lowercase letters and digits ([a-z0-9_.])?
Error:Gradle: Execution failed for task ':app:mergeDebugResources'.
/home/trungdq/.../res/drawable/tab-active.xml: Error: Invalid file name: must contain only lowercase letters and digits ([a-z0-9_.])
It's simple: out of xml filenames the Java constants
get generated. The later have very strict rules about how they may be built
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With