gaolhjy/enjoyshop

build gradle Failed: No resource found

Shiuend opened this issue · 1 comments

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

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