Android Studio Error: 'command 'C:\Program Files\Java\jdk1.7.0_75\bin\java.exe'' finished with non-zero exit value 2 -


i getting error after adding libriaes project while try run application.

android studio version : 1.2.1.1 

error:execution failed task ':app:dexdebug'.

com.android.ide.common.process.processexception: org.gradle.process.internal.execexception: process 'command 'c:\program files\java\jdk1.7.0_75\bin\java.exe'' finished non-zero exit value 2

i've got error when had duplicates of libraries. example if module uses same library adding project error might occur. try find if there duplicates in app.

edit

yes correct , have 2 same library in module indirectly. in main project using android.support.v4.app jar , android library project, library project containing same jar android.support.v4.app file have in main project, deleted android.support.v4.app main project, solution working fine.


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -