nijian81

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.7.0_51\bin\java.exe'' finished with non-zero exit value 2 我用的android studio,集成了官方的jar包之后,每次编译运行,控制台都会报这个错误,请问如何解决?

嗯,你说的这个方法我试了很多次了,谷歌最后的结果就是某个依赖包重复添加了,也就是依赖包有问题,我把Leancloud的依赖包删除,运行正常,添加之后运行报错?请问如何解决?总不能不引入依赖包吧

你好,这些是我的依赖包: compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:support-v4:22.1.1' compile project(':library') compile files('libs/badgeview.jar') compile files('libs/jpush-sdk-release1.7.4.jar') compile files('libs/androi…

我想问下,这个问题只有我自己遇到吗?别人都没有遇到吗?假如这个问题是个例的话,我自己找原因。假如这个问题普遍存在的话,是不是官方的依赖包有问题呢? 请你不要总是让我自己查好吗?

compile files('libs/jpush-sdk-release1.7.4.jar') compile files('libs/android-async-http-1.4.6.jar') compile files('libs/avoscloud-sdk-v3.3.4.jar') compile files('libs/avoscloud-push-v3.3.4.jar') compile files('libs/Java-WebSocket-1.2.0-leancloud.jar') compile files('libs/avoscloud-statistics-v3.3.4.…

贴出来正确的解决方案吧,希望可以帮助其他的开发者:我怎么上传不了图片啊??? compile project(':library') compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:support-v4:22.1.1' compile 'it.neokree:MaterialTabs:0.11' compile files('libs/badgeview.jar') compile fi…