com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/maven/com.fasterxml.jackson.core/jackson-databind/pom.xml

Instead of this packagingOptions { exclude ‘META-INF/LICENSE’ exclude ‘META-INF/NOTICE’ } try this packagingOptions { exclude ‘META-INF/DEPENDENCIES.txt’ exclude ‘META-INF/LICENSE.txt’ exclude ‘META-INF/NOTICE.txt’ exclude ‘META-INF/NOTICE’ exclude ‘META-INF/LICENSE’ exclude ‘META-INF/DEPENDENCIES’ exclude ‘META-INF/notice.txt’ exclude ‘META-INF/license.txt’ exclude ‘META-INF/dependencies.txt’ exclude ‘META-INF/LGPL2.1’ } and more thing Remove this line apply plugin: ‘com.google.gms.google-services’ from Bottom and add to Top after this apply plugin: ‘com.android.application’. … Read more

no changes to deploy android studio 2.1

Upgrade Android studio version to 3 or more. this bug is resolved. This was a bug on version 2.0 instant run and issues were reported check these links https://code.google.com/p/android/issues/detail?id=199884 https://code.google.com/p/android/issues/detail?id=195062 https://code.google.com/p/android/issues/detail?id=206698 https://code.google.com/p/android/issues/detail?id=209413 https://code.google.com/p/android/issues/detail?id=206627 thing to do would be to disable Instant Run entirely by Settings > Build, Execution, Deployment > Instant Run > Enable Instant … Read more