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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -