I've just updated my Android Studio version to the new 2.1. The problem is after I've launched my AVD, and I try to run my App, it crashes giving me a list of errors:
1st:
Error:Error converting bytecode to dex:
Cause: java.lang.RuntimeException: Exception parsing classes
2nd:
Error:1 error; aborting
:app:transformClassesWithDexForDebug FAILED
3rd:
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
com.android.build.api.transform.TransformException:
java.lang.RuntimeException: com.android.ide.common.process.ProcessException:
java.util.concurrent.ExecutionException:
com.android.ide.common.process.ProcessException:
org.gradle.process.internal.ExecException: Process 'command 'C:\Program
Files\Java\jdk1.8.0_45\bin\java.exe'' finished with non-zero exit value 1
EDIT:
Going to the right-top corner all the way through "Gradel" panel > :app > Tasks > build > double clicking on clean solved my issue!