Caused by: com.android.build.gradle.tasks.ResourceException: [string/app_name] C:\Android Work\projectName\build\generated\res\resValues\tst\values\generated.xml [string/app_name] C:\Android Work\projectName\build\generated\res\resValues\tst\values\gradleResValues.xml: Error: Duplicate resources
Same file is in generated.xml and gradleResValues.xml
<!-- Automatically generated file. DO NOT MODIFY -->
<!-- Values from build type: tst -->
<string name="app_name" translatable="false">Test</string>
It's saying there's a same string in these both files, how to avoid this exception?
By the way it's only happening to my test build, debug build is working fine!!