In Kotlin when I tried to run file I faced with this issue. It says 'This process cannot access the file because the file is being used by another process' here in English.
In Kotlin when I tried to run file I faced with this issue. It says 'This process cannot access the file because the file is being used by another process' here in English.
To solve it follow these steps
1 ) In your IDE probably DefaultPreview shows as chosen, click on it and change it to app
2) It should look like this at the and:
This should solve your problem.