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 Build a Simple Android App (2014) Getting Started with Android Running the Fun Facts Project

robi ilham
robi ilham
4,558 Points

gradle project sync failed

hi, i am following the instruction in the video.

i was downloading the java sdk 64 bit in this tutorial. but in this chapter after creating new project i've got this error.

the android studio i used is from android site.

Error:Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at http://gradle.org/docs/2.2.1/userguide/gradle_daemon.html

Please read the following process output to find out more:

Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.

thank you

robi ilham
robi ilham
4,558 Points

Solved.

wrong path for jdk 64 bit in default project setting :)

1 Answer

Rohan Khandeparkar
Rohan Khandeparkar
751 Points

I am not getting and error, but it is related to Gradle as depicted in the screenshot. The download never finishes and I am stuck at this screen. Any idea as to what I am doing wrong?

Screenshot: http://postimg.org/image/6b8b36yql/

Any help is much appreciated.