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 Build a Simple Android App (2014) Creating the Screen Layout Getting to Know Our Tools

Android Studio doesn't open correctly

While I try to open Android Studio and create new project after loading it shows me "No file is open". The error at bottom are following: "Error:Unknown host 'd29vzk4ow07wi7.cloudfront.net'. <a href="toggle.offline.mode">Enable Gradle 'offline mode' and sync project</a><br><a href="http://www.gradle.org/docs/current/userguide/userguide_single.html#sec:accessing_the_web_via_a_proxy">Learn about configuring HTTP proxies in Gradle</a>"

1 Answer

Hi Hasan, somewhere in that line it says "Enable Gradle 'offline mode' and sync project" so maybe you can try doing that and see if it works. To enable Gradle..(I am not sure which version of Android studio you have) try File >> Settings >> Gradle >> Global Gradle Settings >> offline work (tick it) and then click apply. Now to synchronize if you are on windows type Ctrl + Alt + Y or the icon of it on the main menu (it looks like the recycle sign). Then try again and see if it works