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 failed...again...

I hope someone can really help me. I really need it... Please. Thank you :)

This is like, the trillionth time I've uninstalled and reinstalled Android -- first it was Eclipse. Eclipse kept giving me warnings and I JUST downloaded it. So I tried Android Studio. No different. I get warnings saying 'download JDK 7'...but I just downloaded it..I told the software where it was... Then I have rendering problems. 'Missing styles. Is this the correct theme chosen for this layout'? Then is says 'Gradle project sync failed.'

Why is there so many failures when I just downloaded?

Im sorry! Nothing is more frustrating when you want to learn and the program isnt working! Can you give a little more info on what operating system you are on? I had this exact problem last week on OSX Yosemite... I was able to fix it by following the top answer here!

http://stackoverflow.com/questions/26689513/errorcompilesdkversion-android-21-requires-compiling-with-jdk-7

Super quick and easy! Hopefully this helps you out!

3 Answers

I had similar problems both with Gradle and with JDK. A similar StackOverflow post helped me - it was a matter of slightly tweaking the path for the JDK7 as against JDK6. Silly, really but it took me ages!

Let us know if you got fixed - if mot, let's see if we can help!

Tyler Cassity , Hi, I'm working on a 2008 OS X MacBook 10.7.5. I'll check the link, thanks:)

Steve Hunter , thanks, I'll check stackoverflow. XCode is much easier.