小编jim*_*ang的帖子

gradle以非零退出值3结束

我的项目包含3个库:calendar_cmcc,Wheel_libraryyellowPage_lib.

我可以完美地构建项目,但gradle在运行时抛出错误.这是错误:

Error:Execution failed for task ':app:dexDebug'.
Run Code Online (Sandbox Code Playgroud)

com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:进程'命令'/home/jim/tools/jdk1.8.0_45/bin/java''以非零退出值结束3

gradle文件列表:

app的 build.gradle:

apply plugin: 'com.android.application'

        android {

            compileSdkVersion 21
            buildToolsVersion '21.1.2'

            defaultConfig {
                applicationId "cn.com.geartech.app"
                minSdkVersion 17
                targetSdkVersion 19
                versionCode 100 //from 20 to 21
                //cmcc0000522 is 26
                //0608 is
                // 27
                //0615 is 27
                //0616 is 27
                //1.2.20 36
                versionName "1.2.26.10"
                multiDexEnabled = true
            }
            buildTypes {
                release {
                    minifyEnabled false
                    proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
                }

                debug {
                    signingConfig signingConfigs.deb
                }
            }
            packagingOptions {
                exclude …
Run Code Online (Sandbox Code Playgroud)

android build.gradle android-gradle-plugin

6
推荐指数
1
解决办法
5110
查看次数