Android Studio Integration

  • 8 June 2015
  • 1 reply

I tried to integrate SDK with android Studio but I got this error 
Error:Execution failed for task ':app:dexDebug'.

> org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_25\bin\java.exe'' finished with non-zero exit value 2

it seems I have a conflict with two libraries but when I see gradle files I don't see any conflicted libs 
I use 
windows 7 64bit 
gradle 1.2.1 
android studio 
build tools 21.1.2

This topic has been closed for comments

1 reply

I solved this problem by removing 
compile ''
from my app and sync gradle and put it again and sync again 
also did this after cleaning and rebuilding and restarting Android Studio 
still didn't know what cause this problem but I happy it fixed