无法在(在app:mergeReleaseResources任务中)生成已签名的APK

时间:2018-08-08 07:31:10

标签: android android-studio android-gradle build.gradle

当我想要生成签名的APK时,会出现以下错误:

enter image description here

更新:运行后的一些日志详细信息生成签名的APK

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeReleaseResources'.
> Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeReleaseResources'.

0 个答案:

没有答案