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

Development Tools

Android Studio was unable to find a valid JVM

Hi friends, when I running android studio I am getting following error message. I am using macbook. When I am setting STUDIO_JDK environment and running it from command prompt its working, but not from the applications menu. Any suggestions?

Okay following worked for me. http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x/588442#588442

or if you are in a hurry execute following command in terminal. launchctl setenv STUDIO_JDK /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk Make sure you pass the correct Java version.

I was having the same issues. Tarun, thanks for this answer. Worked perfectly!