Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/jpa/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android studio 任务';的执行失败:app:processDebugResources';安卓工作室,SugarORM_Android Studio_Android Gradle Plugin_Build.gradle_Sugarorm - Fatal编程技术网

Android studio 任务';的执行失败:app:processDebugResources';安卓工作室,SugarORM

Android studio 任务';的执行失败:app:processDebugResources';安卓工作室,SugarORM,android-studio,android-gradle-plugin,build.gradle,sugarorm,Android Studio,Android Gradle Plugin,Build.gradle,Sugarorm,正如我所说的,我用了下面这句话 当我使用 compile 'com.github.satyan:sugar:1.3' compile 'com.github.satyan:sugar:1.3' 在我的Gradle中,它将看起来像: dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile 'com.github.satyan:sugar:1.3' compile 'com.an

正如我所说的,我用了下面这句话

当我使用

compile 'com.github.satyan:sugar:1.3'
compile 'com.github.satyan:sugar:1.3'
在我的Gradle中,它将看起来像:

  dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.github.satyan:sugar:1.3'
    compile 'com.android.support:appcompat-v7:23.0.1'
    compile 'com.android.support:support-v4:23.0.1'
    compile 'com.android.support:recyclerview-v7:23.0.1'
    compile 'com.google.android.gms:play-services:8.1.0'
    compile 'com.google.android.gms:play-services-ads:8.1.0'
    compile 'com.google.android.gms:play-services-identity:8.1.0'
    compile 'com.google.android.gms:play-services-gcm:8.1.0'
  }
当我使用

compile 'com.github.satyan:sugar:1.3'
compile 'com.github.satyan:sugar:1.3'
在编译时,我得到以下错误

Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/amit/android-sdk-linux_86/build-tools/22.0.1/aapt'' finished with non-zero exit value 1
失败

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/amit/android-sdk-linux_86/build-tools/23.0.1/aapt'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
但无论何时我删除它,它都会成功构建,


如果我想使用sugarORM,有人能帮我吗我如何使用它

你能发布更多关于stacktrace的详细信息吗?尝试使用gradlew assembleDebug--info@GabrieleMariotti非常感谢您的快速回复,我只是更新一下question@GabrieleMariotti我刚刚超过了我试图编译'com.github.satyan:sugar:1.3',结果如下:1。执行时第一次出现错误:app:processDebugManifest这是因为与清单文件中的android图标冲突android:icon=“@mipmap/ic_launcher”一旦我从清单中删除图标,我就能够成功构建。app:processDebugResources没有问题。buildtools版本可能有问题。你能提供你的全部档案吗?