The application was able to execute before updating my android studio,this is the error I am getting:
Error:Execution failed for task ':app:dexDebug'.
> com.android.ide.common.process.ProcessException:
org.gradle.process.internal.ExecException:
Process 'command 'C:\Program Files\Java\jdk1.8.0_25\bin\java.exe'' finished
with non-zero exit value 1
If you have support-v4 and support-v7 (with different version) in build.gradle then add this line into your build.gradle at top.
configurations {
all*.exclude group: 'com.android.support', module: 'support-v4'
}
Also read this
in my case, the
compile 'com.google.android.gms:play-services:+'
in my build.gradle exceeded the 65k method limit.
i changed it to
compile 'com.google.android.gms:play-services-maps:6.5.87'
to fix it (i only need maps in my application)
hope that helps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With