有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java无法摆脱此错误:“app:processDebugResources”

我已经试着寻找答案,找到了一些,但没有一个能解决我的问题。我不知道我在做什么,我只是想改变一些颜色和图标,没什么大不了的,以前从未为Android编译过一些东西。我试图编译的是:https://github.com/dkim0419/SoundRecorder。如果我在Eclipse、Android Studio中打开它,或者只是使用终端来编译它,它不应该编译吗?没有问题?我设置了路径(我当前到Android SDK的路径是/home/alex/Android/SDK,NDK是/home/alex/Android/NDK)。我就是无法摆脱它。我甚至试着创建一个空白的测试项目,并试图编译它,但得到了同样的错误。我有没有遗漏一些非常明显和愚蠢的东西

这就是我尝试构建应用程序时发生的情况:

alex@alex-Aspire-1640:~/Code/SoundRecorder-master$ ./gradlew build
:app:preBuild
:app:compileDebugNdk
:app:preDebugBuild
:app:checkDebugManifest
:app:preReleaseBuild
:app:prepareComAndroidSupportAppcompatV72102Library
:app:prepareComAndroidSupportCardviewV72103Library
:app:prepareComAndroidSupportRecyclerviewV72103Library
:app:prepareComAndroidSupportSupportV42103Library
:app:prepareComJpardogoMaterialtabstripLibrary106Library
:app:prepareComMelnykovFloatingactionbutton110Library
:app:prepareDebugDependencies
:app:compileDebugAidl
:app:compileDebugRenderscript
:app:generateDebugBuildConfig
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets
:app:generateDebugResValues
:app:generateDebugResources
:app:mergeDebugResources
/home/alex/Code/SoundRecorder-master/app/build/intermediates/exploded-aar/com.安卓.support/appcompat-v7/21.0.2/res/drawable-xhdpi/abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
/home/alex/Code/SoundRecorder-master/app/build/intermediates/exploded-aar/com.安卓.support/appcompat-v7/21.0.2/res/drawable-hdpi/abc_spinner_mtrl_am_alpha.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
/home/alex/Code/SoundRecorder-master/app/build/intermediates/exploded-aar/com.安卓.support/appcompat-v7/21.0.2/res/drawable-mdpi/abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
/home/alex/Code/SoundRecorder-master/app/build/intermediates/exploded-aar/com.安卓.support/appcompat-v7/21.0.2/res/drawable-hdpi/abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
/home/alex/Code/SoundRecorder-master/app/build/intermediates/exploded-aar/com.安卓.support/appcompat-v7/21.0.2/res/drawable-hdpi/abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
/home/alex/Code/SoundRecorder-master/app/src/main/res/drawable/icon_web.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
/home/alex/Code/SoundRecorder-master/app/build/intermediates/exploded-aar/com.安卓.support/appcompat-v7/21.0.2/res/drawable-xhdpi/abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
:app:processDebugManifest
:app:processDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> com.安卓.ide.common.internal.LoggedErrorException: Failed to run command:
    /home/alex/Android/Sdk/build-tools/21.1.1/aapt package -f --no-crunch -I /home/alex/Android/Sdk/platforms/安卓-21/安卓.jar -M /home/alex/Code/SoundRecorder-master/app/build/intermediates/manifests/full/debug/AndroidManifest.xml -S /home/alex/Code/SoundRecorder-master/app/build/intermediates/res/debug -A /home/alex/Code/SoundRecorder-master/app/build/intermediates/assets/debug -m -J /home/alex/Code/SoundRecorder-master/app/build/generated/source/r/debug -F   /home/alex/Code/SoundRecorder-master/app/build/intermediates/res/resources-debug.ap_ --debug-mode --custom-package com.danielkim.soundrecorder -0 apk --output-text-symbols /home/alex/Code/SoundRecorder-master/app/build/intermediates/symbols/debug
  Error Code:
     132


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 53.214 secs

共 (0) 个答案