【问题标题】:Android Studio build issue-Concurrent Execution exceptionAndroid Studio 构建问题-并发执行异常
【发布时间】:2017-08-18 12:57:18
【问题描述】:

Error coming while trying to build the project

每当我尝试构建我的 android studio 项目时,都会出现以下错误:

信息:Gradle 任务 [clean, :app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources] 错误:java.util.concurrent.ExecutionException:com.android.ide.common.process.ProcessException: 错误:任务 ':app:mergeDebugResources' 执行失败。

错误:java.util.concurrent.ExecutionException:com.android.ide.common.process.ProcessException: 信息:构建失败 信息:总时间:37.323 秒 信息:2个错误 信息:0 个警告 信息:在控制台中查看完整的输出

任何人都面临或重新爱过同样的问题?

【问题讨论】:

    标签: android android-studio gradle


    【解决方案1】:

    你可以通过分成更小的任务桶来解决这个问题

    1. 构建 assembleDebug
    2. 测试
    3. 已连接AndroidTest

    当我在 Jenkins 中将 assembleDebug 和测试作为单个任务一起运行时,我遇到了问题

    【讨论】:

      猜你喜欢
      • 2020-07-23
      • 2015-06-04
      • 1970-01-01
      • 2021-12-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-03-05
      • 1970-01-01
      相关资源
      最近更新 更多