Android Studio Integration

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

> com.android.ide.common.process.ProcessException: 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 1.2.1.1 
build tools 21.1.2

1 Comment

I solved this problem by removing 
compile 'com.android.support:appcompat-v7:21.0.3'
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 

Login or Signup to post a comment