Android Studio 4更新后,应用程序构建失败

时间:2020-08-04 05:49:45

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

显示以下错误-C:\ Users \ shubh \ AndroidStudioProjects \ BitsandPizzas \ app \ build \ intermediates \ compile_and_runtime_not_namespaced_r_class_jar \ debug \ R.jar:该进程无法访问该文件,因为它正在被另一个进程使用

一次成功构建,一次则失败。使用studio3.6时可以正常工作,但是在Studio4更新后出现了

1 个答案:

答案 0 :(得分:0)

首先执行此操作: 文件->使缓存无效/重新启动。->使/无效

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

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

相关问题