Yanshof
Yanshof

Reputation: 9926

After update android studio - fail to create new project

After updating my Android studio today I created simple project and I got following error that.

Error:Could not set process working directory to 'E:\DevelopAndroid\myNewProject': could not set current directory (errno 5)

The 'E:\DevelopAndroid\' is exist and the 'myNewProject' folder created. But still I can't upload the code to my Git server.

I am not able debug it.

And I don't know what to do.

Upvotes: 0

Views: 2597

Answers (4)

teteArg
teteArg

Reputation: 4024

I solve this by assigning full control permissions to the root directory in my Windows 10 machine. In my case cdm-webservice-v2 is the project directory.

Windows Permission Screen

Upvotes: 0

Amin Pinjari
Amin Pinjari

Reputation: 2173

  1. Renaming directory without space
  2. delete .idea folder
  3. Restart Android Studio

It will work

Upvotes: 4

Dennis Luke Owuor
Dennis Luke Owuor

Reputation: 11

under your project-> look a folder(.idea) delete everything in it. then go to file-> select sync project with gradle files click and let your project sync again

Upvotes: 1

hojjat
hojjat

Reputation: 35

close current project, delete it and create a new same project, it works for me.

Upvotes: 1

Related Questions