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

Magnus Benoni
Magnus Benoni
31,059 Points

Android Studio -> I get an error: Error: Fix Gradle wrapper and re-import project

I am taking the course: Build a Simple Android App There was an update to Android Studio so I downloaded the update and copied it over the old application. Then I got a whole lot of errors that I did not understand, missing Android SDK etc... So I put back the Android Studio version from treehouse. Now I get this error.

Error:You are using an unsupported version of Gradle. Please use version 1.10. Please point to a supported Gradle version in the project's Gradle settings or in the project's Gradle wrapper (if applicable.) <a href="fixGradleElements">Fix Gradle wrapper and re-import project</a><br><a href="openGradleSettings">Gradle settings</a>

1 Answer

Yeah this error is known and happened to me. Still I couldn't get a fix. I think a new update will be coming soon to fix this.

Magnus Benoni
Magnus Benoni
31,059 Points

So do I have to delete my project and start it over again?

Magnus Benoni
Magnus Benoni
31,059 Points

Thank you! This is a bit over my head. I remade the project and it is working again. I hope upgrade to 1.0 Android Studio will be less painful with an update from TTH.