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

Gradle Errors in Android Studio

Every time I try to Run/Build my project Gradle gives me new errors everytime. Some are NullPointerException with the 'R' in red example: R.id.myButton... Another error also pops up: Unexpected lock protocol found in lock file. Expected 3 found 0. Each time one error appears and the Run doesn't happed! Please help anyone, I'm learning Android Development new here and Android Stupid Studio is making it impossible with new errors each time.

P.S: I've tried deleting .gradle in the project files and restarting multiple times didn't fix the errors