Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

More than one file was found with OS independent path 'META-INF/rxjava.properties'

Tags:

android

While running the app this error is coming More than one file was found with OS independent path 'META-INF/rxjava.properties' . How to remove duplicate file from android studio ?

like image 313
Z1604 Avatar asked Dec 01 '22 13:12

Z1604


1 Answers

I had the same problem. The way I fixed it is adding the packagingOptions in app gradle as described in Duplicated file rxjava.properties

android {
      defaultConfig {
      }
      buildTypes {
      }
      packagingOptions{
      exclude 'META-INF/rxjava.properties'
      }
}
like image 169
Chirag Prajapati Avatar answered Dec 04 '22 21:12

Chirag Prajapati