0

I am a beginner and when I try to run "Hello world" app in emulator there is always one error and it states :

Error:Execution failed for task ':app:transformClassesWithMultidexlistForDebug'. com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_79\bin\java.exe'' finished with non-zero exit value 1

Everybody is saying that I should add: multiDexEnabled true, but it does not help at all. PLEASE HELP ME :) I would just like to view my app in emulator...

Thank you!!!

Jean Vitor
  • 893
  • 1
  • 18
  • 24
Dino G
  • 1
  • 1
    Can you post the file build.gradle to here. And have you tried with this one http://stackoverflow.com/questions/33877134/errorexecution-failed-for-task-androidtransformclassesandresourceswithprogua – Pi Vincii Aug 11 '16 at 13:22
  • 1
    It would help if you would post your gradle build file. – shalama Aug 11 '16 at 13:32
  • close android studio, go to your project folder, delete folders 'build', 'app/build' and '.gradle' (it might be hidden). Then open your Android Studio. It would regerate these folders – piotrek1543 Aug 11 '16 at 14:38

1 Answers1

0

I had the same error and for me it was conflict of the support libaries. Remove one of them, probably you have the same conflict. Project and all dependencies libraries must infer to only one "android-support-v4.jar" or other, but only one.

I hope it will help.

BohdanZ
  • 243
  • 2
  • 12