Android 工作室:com.android.ide.common.process.ProcessException:
Android Studio : com.android.ide.common.process.ProcessException:
我正在尝试将 ArcGis 与 Android Studio 结合使用。我尝试按照这些步骤操作
但我遇到了这个错误:
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
// 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'
}
}
}
看来我上面的评论回答了问题。
我正在尝试将 ArcGis 与 Android Studio 结合使用。我尝试按照这些步骤操作
但我遇到了这个错误:
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
// 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'
}
}
}
看来我上面的评论回答了问题。