错误日志:
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':mergeReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource compilation failed
Output: error: layout bounds on right border must start at edge.
Command: /home/pandora/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-linux.jar/89e782d231b90e67452f66f10260354f/aapt2-3.2.1-4818971-linux/aapt2 compile --legacy \
-o \
安装包制作目录/build/intermediates/res/merged/release \
安装包制作目录/res/drawable-hdpi/splash.9.png
Daemon: AAPT2 aapt2-3.2.1-4818971-linux Daemon #6
-
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 24s
1 个回复
老火 (作者)
把启动图换成原来的,不知道是不是自己做的.9.png有问题,用.9.png就是会失败