Reputation: 143
After installing Android Studio and updating to 0.5.9, when I try to create a new project, after I get through all the menus, I get stuck at a screen with a progress bar that says "Building 'project_name' Gradle project info". I let it sit there for close to 10 minutes and nothing happened. No errors, no progress bar movement, literally nothing except the process eating up more and more memory.
I've already looked at other posts that were similar to my question, but they haven't helped as I don't even get to the "downloading Gradle" point that are in some other answers on stackoverflow here.
Here's a screencap of the screen I get hung up on:
I'm really at a loss here as to what is causing it to get hung up like it is.
Upvotes: 3
Views: 2638
Reputation: 1
If on Linux, check that you have a valid ~/.android directory. With valid I mean: it needs to exist and have permissions for you to write to.
Upvotes: 0
Reputation: 80010
When you first create a project, it has to download a lot of stuff, including the proper distribution of Gradle and a number of dependency libraries. It's dozens of megabytes, so it can take a long time if you have a slow connection, and unfortunately, it doesn't give you a usable progress bar so you don't know how much longer it's going to take.
If it seems to be stuck forever, then check your network/proxy preferences and make sure it's set up properly.
After you create your first project, much of this information will remain cached, so future projects will start up much more quickly.
Upvotes: 1