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 trialMagnus Benoni
31,059 PointsAndroid 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
qasimalbaqali
17,839 PointsYeah 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
31,059 PointsMagnus Benoni
31,059 PointsSo do I have to delete my project and start it over again?
qasimalbaqali
17,839 Pointsqasimalbaqali
17,839 PointsFound the fix! http://tools.android.com/tech-docs/new-build-system/migrating-to-1-0-0 Instead of 1.0.0 use 1.10
Read this one too. http://stackoverflow.com/questions/22719200/fix-gradle-incompatibility-issue-when-importing-android-sample-project
Magnus Benoni
31,059 PointsMagnus Benoni
31,059 PointsThank 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.