3

I know that this has been asked for 10 times but I have tried all solutions have been proposed on stackoverflow but none of them worked for me. I have tried these but no result:

Android Studio Stuck at Gradle Download on create new project

Android Studio error installing Gradle

Build issues with Gradle Android studio 0.2.1

enter image description here

Community
  • 1
  • 1
Daniel
  • 3,322
  • 5
  • 30
  • 40
  • what kind of project are you importing? Ant, Gradle, Idea, Eclipse? – robotoaster Jul 20 '13 at 11:35
  • 1
    i'm not importing projects... I'm just trying to create new project. – Daniel Jul 20 '13 at 11:52
  • I have stumbled upon this before on linux, it was related to environment variables not being set when Android Studio launches. – robotoaster Jul 20 '13 at 12:05
  • @kabuto178 No solution yet. I'm using eclipse for now to do the projects in hand. – Daniel Jul 21 '13 at 03:56
  • @robotoaster I've updated the JDK and set the environment variables properly. – Daniel Jul 21 '13 at 03:57
  • I'm still baffled by this error, I have tried setting variables again but no luck yet. – kabuto178 Jul 21 '13 at 04:41
  • from the screenshot it seems IDE cant open log file in .gradle folder. Delete entire .gradle folder and try again. If no joy check if android studio has read/write permission in there. Alternatively try run Android Studio in administrative, this way you can rule out permission problem. – robotoaster Jul 22 '13 at 10:37
  • @robotoaster I did your suggestion, not working still. – Daniel Jul 24 '13 at 05:53
  • can you post that log file message is referring to? – robotoaster Jul 24 '13 at 09:37
  • @robotoaster Sorry I didn't have time to make the android studio working. I had a deadline to meet. I deleted it and got back to the old fashion bug free eclipse ;) – Daniel Jul 24 '13 at 09:44

1 Answers1

0

This problem happens when we work with android sdk studio different from what you should do is install Android Support Repository https://sites.google.com/a/android.com/tools/knownissues

user2619502
  • 1
  • 1
  • 2