Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio : Could not set process working directory to "new directory"

I am doing a project using Android Studio. After change the directory to another place. I got an Error "Could not set process working directory to [my old directory path] : could not setcwd() (errno 2: No such file or directory)"

like image 610
Thanh Nhật Avatar asked Sep 21 '19 21:09

Thanh Nhật


3 Answers

Follow below steps.

  1. Close android studio.
  2. Delete the .idea folder on your project folder.
  3. Start android studio and open your project. worked for me.
like image 158
Code Demon Avatar answered Sep 20 '22 19:09

Code Demon


I solved it with Invalidate Caches / Restart

like image 42
elliptic1 Avatar answered Sep 21 '22 19:09

elliptic1


Restart Android studio and open your project from the new directory

like image 44
PRAISE ELISHA Avatar answered Sep 17 '22 19:09

PRAISE ELISHA