lkjhgfdsa
lkjhgfdsa

Reputation: 47

android studio - "permission denied : connect"

I have recently installed the android studio bundle from this website.

I installed this, pressed new project from the quick start menu, and followed through with the series of customisations.

After finishing the last page of the form and pressing "finish" , the following error message was displayed:

New Project Wizard

Permission denied: connect

Consult IDE log for more details (Help | Show Log)

At end of log:

INFO - .project.GradleProjectImporter - Permission denied: connect

Consult IDE log for more details (Help | Show Log) 

Any help appreciated.

Upvotes: 3

Views: 6348

Answers (3)

MikeC
MikeC

Reputation: 1

I have the same problem. I tried making everything readable but it didn't work. Finally I tried opening had the project I just created under C:\Users\<me>\AndroidStudioProjects. A message box came up asking if I wanted to open the firewall to Android Studio. I answered yes. Now I can get into the project. I still go through the same issue with new projects.

Upvotes: 0

Cary Bondoc
Cary Bondoc

Reputation: 2988

Just allow android studio in your firewall, if you are using

  1. Tinyfirewall - Click the autolearn so it will allow android studio in your firewall
  2. If you are not using any other firewall application then you can turn off your firewall, but be aware that it will make your security low.

Upvotes: 3

TheLawyer
TheLawyer

Reputation: 11

I had a similar problem in trying to connect with SDK Manager in order to download packages. Same reply "Permission denied: connect".

I solved it (on Windows 7) by removing the read-only attribute that was set on the whole C:\Users\\AppData\Local\Android directory.

Give it a try and let me know if it works! ^_^

Upvotes: 0

Related Questions