Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/195.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
Java Can';“我不能摆脱这个错误:”;应用程序:processDebugResources“;_Java_Android_Eclipse_Android Ndk - Fatal编程技术网

Java Can';“我不能摆脱这个错误:”;应用程序:processDebugResources“;

Java Can';“我不能摆脱这个错误:”;应用程序:processDebugResources“;,java,android,eclipse,android-ndk,Java,Android,Eclipse,Android Ndk,我已经试着寻找答案,找到了一些,但没有一个能解决我的问题。我不知道我在做什么,我只是想改变一些颜色和图标,没什么大不了的,以前从未为Android编译过一些东西。我试图编译的是:。如果我在Eclipse、Android Studio中打开它,或者只是使用终端来编译它,它不应该编译吗?没有问题?我设置了路径(我当前到Android SDK的路径是/home/alex/Android/SDK,NDK是/home/alex/Android/NDK)。我就是无法摆脱它。我甚至试着创建一个空白的测试项目,

我已经试着寻找答案,找到了一些,但没有一个能解决我的问题。我不知道我在做什么,我只是想改变一些颜色和图标,没什么大不了的,以前从未为Android编译过一些东西。我试图编译的是:。如果我在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

... 怎么了?你确定这是个错误吗?它在你的日志里吗?我不认为这是你所认为的。。。我可能弄错了。您使用的是根设备还是模拟器?我无法根设备,我也没有尝试过模拟它。不知道你必须这么做。我该怎么做呢?(我真的很抱歉,我对这个项目还不熟悉)这个项目做得对吗?我不明白我做错了什么。我试着模仿它,没有。我所做的一切都不能使它起作用。其他人可以试着编译这个(可能比我专业多一点),看看它是否有效吗?