when i migrate andoird project to androidx it gives error More than one file was found with OS independent path 'META-INF/proguard/coroutines.pro'. I searched a lot but no one solution can't work.please provide code if any solution found. Thank you.
Asked
Active
Viewed 1,763 times
1 Answers
4
Maybe it's too late, but you can add an exclusion as part of your packagingOptions located in build.gradle
android {
// ...
packagingOptions {
exclude 'META-INF/proguard/coroutines.pro'
}
}

Mahdi-Malv
- 16,677
- 10
- 70
- 117

Flavio Franco
- 41
- 5
-
I use pickFirst instead of exclude, it also works. – fandro Jun 01 '22 at 12:01