【问题标题】:App build failing after Android Studio 4 updateAndroid Studio 4 更新后应用构建失败
【发布时间】:2020-11-24 04:45:36
【问题描述】:

显示以下错误 - C:\Users\shubh\AndroidStudioProjects\BitsandPizzas\app\build\intermediates\compile_and_runtime_not_namespaced_r_class_jar\debug\R.jar: The process cannot access the file because it is being used by another process

一次构建成功,下一次失败。使用 studio3.6 时工作正常,但在 studio4 更新后出现此问题

【问题讨论】:

    标签: android-studio build.gradle r.java-file build-error


    【解决方案1】:

    首先这样做: 文件 -> 使缓存无效/重新启动.. -> 无效/重新启动

    如果这不起作用,请尝试以下解决方案:

    Why do I get “file is used by another process” errors when I run the project within Android Studio 3.6.1?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-03-15
      • 2017-04-28
      • 1970-01-01
      • 1970-01-01
      • 2016-10-17
      • 2017-06-08
      相关资源
      最近更新 更多