Hi! Has anyone have this error while trying to run a composable preview in simulated device on Artic fox beta 2?
Copy code
C:\.....\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.
I tried to delete the file manually and run again but no luck
z
Zun
05/26/2021, 2:05 PM
I have this every time. Only fix I found is clearing build folder and recompiling
t
Tin Tran
05/26/2021, 2:06 PM
But when you run again does it has this error? I tried to clear the build folder but the problem persisted
r
Ravi
05/26/2021, 2:20 PM
try to kill all java process if you have only this (java)project running in ur system.
killall java
t
Tin Tran
05/26/2021, 2:22 PM
I can manually delete the file without problem so I don’t think there’s any process holding it. I guess I have to fallback to beta 1 and wait tho 😄