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

Stephen Omoarukhe
Stephen Omoarukhe
15,307 Points

Error:org.gradle.tooling.model.GradleProject.getBuildDirectory()Ljava/io/File;

Can anyone please help with this error

2 Answers

Stephen Omoarukhe
Stephen Omoarukhe
15,307 Points

Thanks Andrew, I have rectified it by deleting and re-installing and also checking the proxy

Andrew West
Andrew West
3,245 Points

Is Error:org.gradle.tooling.model.GradleProject.getBuildDirectory()Ljava/io/File; the entire error message you're receiving?

What version of Android Studio are you using? (Check the title bar to see)

Have you ever been able to build projects? If so, have you done anything such as update android studio recently?

If you close your current project and create a brand new project and try to build, does it give you the same error?