Android Studio : Could not set process working directory to “new directory”

牧云@^-^@ 提交于 2021-01-27 18:44:57

问题


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)"


回答1:


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.



回答2:


Restart Android studio and open your project from the new directory



来源:https://stackoverflow.com/questions/58044269/android-studio-could-not-set-process-working-directory-to-new-directory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!