After adding some jar or third party libraries sometime we face this type of problem during gradle build or at runtime .it might be because of in the mergeDebugJavaResource gradle task and on error message about multiple Android Manifests . We can assume that the problem is that there are several manifests(for example one for debug and one for production) and there are no proper manifest merging rules. sometimes it will resolve by Invalid Caches and Restart the Android Studio or by cleaning and rebuild project. But if this technique does not work than there are some solutions for this: Solution 1: downgrading your gradle plugin version from high version to low version like converting classpath 'com.android.tools.build:gradle:3.5.1 ' to classpath 'com.android.tools.build:gradle:3.4.0' if this solution not work here is another solution. Solution 2: in your app level gradle add these line of code android { .... packagingOptions { exclude 'AndroidManifest.xml' ...