Mahdi Javaheri
09/16/2020, 7:37 AMKotlin 1.4.0
in my Android project (AGP 4.0.1)
when i want to build a release apk there are errors in console:
Warning: class [META-INF/versions/9/module-info.class] unexpectedly contains class [module-info]
Note: duplicate definition of program class [module-info]
Note: there were 20 duplicate class definitions.
(<http://proguard.sourceforge.net/manual/troubleshooting.html#duplicateclass>)
Warning: there were 21 classes in incorrectly named files.
You should make sure all file names correspond to their class names.
The directory hierarchies must correspond to the package hierarchies.
Anyone has idea to resolve this issue?gildor
09/16/2020, 7:40 AMandroid.packagingOptions {
exclude("META-INF/versions/9/module-info.class")
}
gildor
09/16/2020, 7:41 AMMahdi Javaheri
09/16/2020, 7:45 AMMahdi Javaheri
09/16/2020, 7:46 AMKotlin 1.4.10
nothing changed eitherAlexey Belkov [JB]
09/16/2020, 8:12 AM