There's many reason that leads to
com.android.build.api.transform.TransformException:
com.android.ide.common.process.ProcessException:
org.gradle.process.internal.ExecException: Process 'command
'C:\Program Files\Java\jdk1.8.0_60\bin\java.exe'' finished with
non-zero exit value 1
If you are not hitting the dex limit but you are getting error similar to this Error:com.android.dx.cf.iface.ParseException: name already added: string{"a"}
Try disable proguard, if it manage to compile without issue then you will need to figure out which library caused it and add it to proguard-rules.pro
file
In my case this issue occur when I updated compile 'com.google.android.gms:play-services-ads:8.3.0'
to compile 'com.google.android.gms:play-services-ads:8.4.0'
One of the workaround is I added this to proguard-rules.pro
file
## Google AdMob specific rules ##
## https://developers.google.com/admob/android/quick-start ##
-keep public class com.google.ads.** {
public *;
}