Hi! Has anyone have this error while trying to run...
# compose
t
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
I have this every time. Only fix I found is clearing build folder and recompiling
t
But when you run again does it has this error? I tried to clear the build folder but the problem persisted
r
try to kill all java process if you have only this (java)project running in ur system.
killall java
t
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 😄