Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build gradle Failed: No resource found #1

Open
Shiuend opened this issue Feb 26, 2018 · 1 comment
Open

build gradle Failed: No resource found #1

Shiuend opened this issue Feb 26, 2018 · 1 comment

Comments

@Shiuend
Copy link

Shiuend commented Feb 26, 2018

C:\Users\Documents\cniao5-master\app\src\main\res\layout\activity_address_add.xml
Error:(133, 40) No resource found that matches the given name (at 'drawableRight' with value '@drawable/icon_right_64').
C:\Users\Documents\cniao5-master\app\src\main\res\layout\activity_create_order.xml
Error:(77, 34) No resource found that matches the given name (at 'src' with value '@drawable/icon_right_64').
Error:(129, 38) No resource found that matches the given name (at 'src' with value '@drawable/icon_right_64').
Error:(176, 38) No resource found that matches the given name (at 'src' with value '@drawable/icon_alipay_72').
.
.
.
C:\Users\Documents\cniao5-master\app\src\main\res\layout\activity_guide.xml
Error:(20, 29) No resource found that matches the given name (at 'background' with value '@drawable/guid_start_btn_selector').
C:\Users\Documents\cniao5-master\app\src\main\res\layout\activity_splash.xml
Error:(5, 34) No resource found that matches the given name (at 'background' with value '@drawable/splash').
C:\Users\Documents\cniao5-master\app\src\main\res\layout\dialog_main_share_bottom.xml
Error:(40, 30) No resource found that matches the given name (at 'src' with value '@drawable/weixin').
.
.
.
C:\Users\Documents\cniao5-master\app\src\main\res\layout\fragment_category.xml
Error:(48, 37) No resource found that matches the given name (at 'background' with value '@drawable/shape_round_msgblue').
Error:(67, 41) No resource found that matches the given name (at 'background' with value '@drawable/weather_bg').
C:\Users\Documents\cniao5-master\app\src\main\res\layout\fragment_shopcart.xml
Error:(110, 26) No resource found that matches the given name (at 'src' with value '@drawable/shop_emptycart').
.
.
.
C:\Users\Documents\cniao5-master\app\build\intermediates\res\merged\debug\layout\fragment_category.xml
Error:(48, 37) No resource found that matches the given name (at 'background' with value '@drawable/shape_round_msgblue').
Error:(67, 41) No resource found that matches the given name (at 'background' with value '@drawable/weather_bg').
C:\Users\Documents\cniao5-master\app\build\intermediates\res\merged\debug\layout\fragment_shopcart.xml
Error:(110, 26) No resource found that matches the given name (at 'src' with value '@drawable/shop_emptycart').
Error:java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Error while executing process C:\Android\android-sdk\build-tools\27.0.2\aapt.exe with arguments {package -f --no-crunch -I C:\Android\android-sdk\platforms\android-27\android.jar -M \?\C:\Users\Documents\cniao5-master\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S C:\Users\Documents\cniao5-master\app\build\intermediates\res\merged\debug -m -J \?\C:\Users\Documents\cniao5-master\app\build\generated\source\r\debug -F C:\Users\Documents\cniao5-master\app\build\intermediates\res\debug\resources-debug.ap_ --custom-package com.cniao -0 apk --output-text-symbols \?\C:\Users\Documents\cniao5-master\app\build\intermediates\symbols\debug --no-version-vectors}
Error:com.android.ide.common.process.ProcessException: Error while executing process C:\Android\android-sdk\build-tools\27.0.2\aapt.exe with arguments {package -f --no-crunch -I C:\Android\android-sdk\platforms\android-27\android.jar -M \?\C:\Users\Documents\cniao5-master\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S C:\Users\Documents\cniao5-master\app\build\intermediates\res\merged\debug -m -J \?\C:\Users\Documents\cniao5-master\app\build\generated\source\r\debug -F C:\Users\Documents\cniao5-master\app\build\intermediates\res\debug\resources-debug.ap_ --custom-package com.cniao -0 apk --output-text-symbols \?\C:\Users\Documents\cniao5-master\app\build\intermediates\symbols\debug --no-version-vectors}
Error:org.gradle.process.internal.ExecException: Process 'command 'C:\Android\android-sdk\build-tools\27.0.2\aapt.exe'' finished with non-zero exit value 1
Error:Execution failed for task ':app:processDebugResources'. > Failed to execute aapt

@gaolhjy
Copy link
Owner

gaolhjy commented Aug 9, 2018

此bug已经修复.谢谢您的提出

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants