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

Sherry Lin
Sherry Lin
959 Points

How to update my gradle build in Android Studio? When I change and save, it always reverts back

my current build.gradle is: classpath 'com.android.tools.build:gradle:2.0.0-beta2'

from reading on stackoverflow, it should be classpath 'com.android.tools.build:gradle:2.0.0'

how do I change it? When I delete the -beta2 from my current build.gradle and save, it always reverts to the beta2 extension. How do I get it to permanently change?

1 Answer

Hey Sherry,

I made some research and although you already had a look at Stackoverflow I picked an forum entry for you:

http://stackoverflow.com/questions/17634708/android-studio-upgraded-from-0-1-9-to-0-2-0-causing-gradle-build-errors-now/17648742#17648742

I hope that was helpful :-)