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!

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 Getting Started with Android Running the Fun Facts Project

Colby Landauer
Colby Landauer
3,520 Points

Gradle build log gives me this error: "buildtools 24.0.2 requires Java 1.8 or above. Current JDK version is 1.7"

This error keeps popping up whenever I try to run my app.

"Error:A problem occurred configuring project ':app'.

Buildtools 24.0.2 requires Java 1.8 or above. Current JDK version is 1.7."

How can I fix this so my app will run? Do I need to upgrade to a different JDK version?

1 Answer

Jason Anders
Jason Anders
Treehouse Moderator 145,855 Points

Hey Colby,

I've responded to this in a previous post, There are a few resources cited there that should be able to help you solve the issue.