我在'app:mergeDebugResources'任务中遇到错误,即使在构建我的空项目时也总是出现。我正在32位Ubuntu 16.04中运行android studio 3.4.2。我有:classpath'com.android.tools.build:gradle:3.3.2'和Gradle版本:4.10.1。
失败:构建失败,并出现异常。
What went wrong: Execution failed for task ':app:mergeDebugResources'.
java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.3.2-5309881-linux Daemon #0: Daemon startup failed This should not happen under normal circumstances, please file an issue if it does.
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
在1秒钟内构建失败11个可执行任务:已执行1个,最新10个19:29:23:任务执行已完成“构建”。