Android Studio:com.android.ide.common.process.ProcessException:

时间:2015-04-08 15:00:09

标签: java android android-studio android-gradle arcgis

我试图将ArcGis与Android Studio一起使用。我试图按照这些步骤进行操作

但是我遇到了这个错误:

  

错误:任务':app:dexDebug'执行失败。   com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:Process' command' /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/箱/ JAVA''完成非零退出值2

我的应用结构

enter image description here

app:build.gradle

  // Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.1.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
        // Add the following arcgis repository
        maven {
            url 'http://dl.bintray.com/esri/arcgis'
        }
    }
}

1 个答案:

答案 0 :(得分:2)

上面我的评论似乎回答了这个问题。