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

Java Android Studio:com.Android.ide.common.process.ProcessException:,java,android,android-studio,android-gradle-plugin,arcgis,Java,Android,Android Studio,Android Gradle Plugin,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/H

我正在尝试将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/bin/Java''以非零出口值2结束

我的应用程序结构

应用程序: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'
        }
    }
}

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

这是您的父build.gradle。你能不能也在app/build.gradle中包含一个?你可以检查post中的图像+列出的build.gradlei如果你去掉ArcGIS依赖项和相关代码,它能工作吗?去掉依赖项后,应用程序已编译但未运行,检查此错误设备外壳命令:pm install-r“/data/local/tmp/com.testarcgis”pkg:/data/local/tmp/com.testarcgis故障[install_FAILED_CPU_ABI_compatible]谢谢@Daniel A.González,它现在正在设备上工作,在genymotion上运行应用程序时引发上述异常。