In our application, we have many modules with different names. When we upgraded to AS 4.1, android gradle plugin 4.1.0, and gradle 6.5 we have been running into errors like the following:
Entry name 'META-INF/<module>_<build type>.kotlin_module' collided
We have noticed that we have 2 or kotlin_module files under the build directory. Here is an example of the ones we have:
build/intermediates/javac/debug/classes/META-INF/<module>_debug.kotlin_module build/tmp/kapt3/incrementalData/debug/META-INF/<module>_debug.kotlin_module build/tmp/kotlin-classes/debug/META-INF/<module>_debug.kotlin_module
These are all found under the module folder.
I would like to figure out how we can fix the error.