Android Studio:com.android.ide.common.process.ProcessException: [英] Android Studio : com.android.ide.common.process.ProcessException:

查看:39
本文介绍了Android Studio:com.android.ide.common.process.ProcessException:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将 ArcGis 与 Android Studio 结合使用.我试着按照这些步骤

I'm trying to use ArcGis with Android Studio. I tried to follow these steps

http://blogs.esri.com/esri/arcgis/2014/05/20/using-the-arcgis-android-sdk-with-android-studio-part-1/

但我面临这个错误:

错误:任务: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

Error:Execution failed for task ':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'' finished with non-zero exit value 2

我的应用程序结构

应用:build.gradle

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'
        }
    }
}

推荐答案

我上面的评论似乎回答了问题.

It seems like my comments above answered the question.

这篇关于Android Studio:com.android.ide.common.process.ProcessException:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆