Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Android Studio 64bit hanging at Gradle:build screen

I just started going through the Android Track and I’ve downloaded the 64 bit versions Android Studio & Java SDK and set the JAVA_HOME variable.

However, once I start Android Studio and follow the video for getting FunFacts started, I never get past the Gradle: Build stage.

I’m running 64 bit Windows 7 Ultimate Core i7 990x processor with 12 Gigs of RAM with 683GB of free space on C.

Android studio was unzipped from the download directory just as in the video and the SDK was installed in the Program Files directory, just like in the video. I also made sure the program has access through the Windows Firewall.

I run the Android Studio 64 program as administrator. (right click and run as administrator)

Fill in all the fields from the video and this is where it hangs. "Gradle: build" with a bar and cancel button at the end. At the bottom of the window there is a spinning icon with "Scanning files to index" next to it.

I’ve tried killing and restarting it after letting it sit for several hours. This is the 4th iteration of trying to run the program and I let it run all night. I’m just not sure what else to do at this point.

Any assistance you can provide would be extremely helpful.

I tried adding screenshots of the build screen hang, the set JAVA_HOME variable and showing the Studio64.exe program set to allow in the firewall settings but didn't understand the whole markdown format thing

1 Answer

I suggest you try using Genymotion for now. So that the tools won't set you back. There is a course on how to set it up on Treehouse. It is a third party emulator and faster than the one you'd see in eclipse or android studio.

Will this program work with the Android Track of learning JAVA? I am less than a beginner, novice & noob !!! :)

I just want to make sure that if I'm following the video's of trying to learn the JAVA coding, will it act the same in this program as it does for Android Studio???

It will run in conjunction with android studio through a virtual machine, but will appear in another screen. There is a full stage on it, in the android development tools course.