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

I am getting this error “your cpu doesn’t support vt-x or svm, android studio 2.1.1 in AMD 6300 processor”

2nd Aug 2019 I am using AMD RYZEN 3400G. Got the same issue and i fixed it in a very easy manner. You have to enable Windows Hypervisor Platform Go to Control Panel> Programs > Turn Windows features on or off and check the Windows Hypervisor Platform. And yes don’t install HAXM. EDIT : 27th … Read more

Error inflating class CollapsingToolbarLayout

I found a solution May it work try it: add below code in gradle build file compile (‘com.android.support:support-v4:23.4.0′){ force = true; } Seems like it is having version conflict issue. All support library must be of same version. However, I didn’t use v4 support library before and it works. I don’t know why updatimg android … 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