无法摆脱这个错误:“app:processDebugResources”

时间:2015-05-28 01:25:03

标签: java android eclipse android-ndk

我已经尝试过寻找答案,找到了一些,但没有一个能解决我的问题。我不知道我在做什么,我只是想改变一些颜色和图标,没有什么是严肃的,从来没有为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.android.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.android.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.android.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.android.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.android.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.android.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.android.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/android-21/android.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 个答案:

没有答案
相关问题