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

2019-02-25 19:20发布

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

but I face this error :

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

My app structure

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条回答
相关推荐>>
2楼-- · 2019-02-25 19:42

It seems like my comments above answered the question.

查看更多
登录 后发表回答