FAILURE: Build failed with an exception.

新手创建一个新的flutter项目运行的时候是出现FAILURE: Build failed with an exception.

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     E:\Bill\bail_flutter\bail\android\app\src\main\AndroidManifest.xml:8:5-29:19: AAPT: error: resource drawable/logo_main.jpg (aka com.example.bail:drawable/logo_main.jpg) not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 50s
Finished with error: Gradle task assembleDebug failed with exit code 1

解决办法:logo_main不带后缀名就可以了

上一篇:安装zookeeper启动失败(start failed)问题解决方案


下一篇:Delphi RSA签名与验签【支持SHA1WithRSA(RSA1)、SHA256WithRSA(RSA2)和MD5WithRSA签名与验签】