Caused by: org.gradle.api.UncheckedIOException: java.nio.file.FileSystemException: E:sgb-androidappbuildintermediatescompile_and_runtime_not_namespaced_r_class_jardebugR.jar: 另一个程序正在使用此文件,进程无法访问。
解决:任务管理器-关闭openjdk

Caused by: org.gradle.api.UncheckedIOException: java.nio.file.FileSystemException: E:sgb-androidappbuildintermediatescompile_and_runtime_not_namespaced_r_class_jardebugR.jar: 另一个程序正在使用此文件,进程无法访问。
解决:任务管理器-关闭openjdk