Hi, I'm following an android course and I got this error when trying my first job:
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_101\bin\java.exe'' finished with non-zero exit value 1
I have tried it with Genymotion and it goes relatively well, only that there is a feature that does not execute it, for example that the keyboard appears when pressing on a Plain Text, for that reason I resort to the virtual machine of android (slower) and throws me that error.
I imagine that there is still a memory problem, since I only have 8GB of Ram and have open the android Studio plus the virtual machine and the other open pages of the browser where I follow the course, including the same operating system W10 should not be enough to run it in the best way.
Try trying to clean up the project but it still does not work.