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 trialEric Walsh
480 PointsError After Building Project Before Doing Anything
This is the error I get after I first build the project before I even do anything...
Error:compileSdkVersion android-21 requires compiling with JDK 7 <a href="open.sdk.settings">Open SDK Settings</a><br><a href="openFile">Open File</a>
I have downloaded and installed the most recent version of JDK (8u25) and am running the most recent release of Android Studio (1.0.1)
Does anyone know what to do to fix this?
Adiel Danda
6,375 PointsAdiel Danda
6,375 PointsTry installing Java 7 instead of Java 8. Since the error is saying android 21 requires compiling with JDK 7