android - Error:Execution failed for task ':app:dexDebug'.....' finished with non-zero exit value 2 -


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 read suggestion try of them still can not problem.plz help

here dependencies ->

dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:22.1.1' compile files('libs/google-play-services.jar') compile files('libs/parse-1.3.2.jar') compile files('libs/parse-1.6.0.jar') 

}

  1. remove 1 parse.jar (android studio not know version prefer)

  2. compile 'com.google.android.gms:play-services:7.5.0'

instead of

compile files('libs/google-play-services.jar')

as google services contain res files, therefore cannot imported through .jar

  1. remove compile filetree(dir: 'libs', include: ['*.jar']) dont want compile all, in libs.

Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -