Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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?