FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':app:mergeReleaseResources'.Multiple task action failures occurred:
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource compilation failed
[PackagePath]/app/res/drawable-hdpi/splash.9.png: AAPT: error: file failed to compile.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource compilation failed
[PackagePath]/app/res/drawable-xhdpi/splash.9.png: AAPT: error: file failed to compile.
- Try:
Run with --debug option to get more log output. Run with --scan to get full insights.
1 个回复
BoredApe - 有问题就会有答案。
.9png图片有问题,请参考:https://www.jianshu.com/p/21e7a0cdd18f