Android Studio:com.android.ide.common.process.ProcessException:
我正在尝试将ArcGis与Android Studio一起使用。 我试着按照这些步骤
-
https://developers.arcgis.com/android/guide/install-and-set-up.htm
-
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:进程’命令’/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/bin/java”完成非零退出值2
我的app结构
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' } } }
好像我上面的评论回答了这个问题。
- Android Studio:意想不到的顶级例外:
- 在gradle更新后无法找到方法(无法编译项目)
- 如何在使用Android Gradle Plugin进行编译时添加java编译器选项?
- 在将gradle版本升级到2.3.3时,使用app:transformClassesAndResourcesWithProguardForRelease构建失败
- 在Dalvik运行时设备上运行Espresso仪器测试的问题
- Android Studio 2.3错误:无法加载“com.google.common.collect.ImmutableSet”类
- 无法在Android Studio 2.1.1的gradle.properties文件中设置JVM参数gradle
- 依赖关系未复制到jar中(在Gradle中)
- Gradle buildConfigField:数组和映射的语法?