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) Getting Started with Android Creating the Fun Facts Project

Li Lin
Li Lin
5,007 Points

SDK Manager "Nothing was downloaded"

I am running Android Studio on a Mac and got stuck on when I had to update on the SDK Manager.

They say that nothing was downloaded when I click on update. Even though I downloaded Android Studio from the Teacher's Notes, I was missing the image when I was trying to run the emulator.

I've searched on Google and they say I need to run it as an admin, but even when I follow their instructions (right click, run as admin) enable everyone to read and write, it doesn't work.

Been trying for 2 days and stuck, please help!

6 Answers

Hi Li,

I would advise delete the current installation of android studio. use something like App Cleaner for Mac. It also deletes content that may be stored elsewhere. it's free and completely safe.

Once you've removed the older version of Android Studio go to Android Developer Official Site and download the latest Android Studio rom there. Click on the button Download Android Studio Beta v0.8.6 with the Android SDK for Mac

Once downloaded just drag the dmg to applications and you are done.
The links in the tutorial, here in Threehouse might not be current, so there could be issues.

Let us know if this helps

I select best answer by mistake actually i have not solved the problem

I select best answer by mistake actually i have not solved the problem

I still have this error: Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly.

You mean after you downloaded it from the official android website?

Gunjeet Hattar, yes in the very begining of a new project. That happen in the mac and the windows partitions i have installed

For the first opening project, on a fresh install, Android Studio downloads some content for gradle from the internet. This take a while. On a normal connection 3-5 mins.

Are you connected to the internet when opening the first project?

Yes im connected to the internet via ethernet

Thats strange. I've not come across such an issue in the past. But I did however did a quick google search and seems like the problem has been around ever since the latest version of Android Studio.

Well not sure if you've already tired them out, but this is what have worked for others in the forum elsewhere

  1. First find what version of gradle is used in android studio. I had 0.83v of studio and 1.12v of gradle.

  2. Download version of gradle from WWW.gradle.com/downloads/ by specifying its version. Dont download the latest version(.20). It does not compatible with android studio as they are working on it.

  3. Unzip to a location safe ( I put it in program files under gradle folder)

  4. Go to environment variable in system properties under advanced tab and add values of this chosen directory with name GRADLE_HOME in both user and system variables.

  5. Delete the files related to android studio and gradle in users/user_name directory in the windows main disk.

  6. Start the android studio (without internet) and it prompts for setting. Give no setting option and start new project( it shows some error).

  7. Go to file-> settings-> gradle -> use local gradle distribution it will show that location is deduced( thanks yo environment variable) and click apply. And close the setting window

  8. In toolbar click the sync with project icon (look similar to chrome icon with a down arrow in green). Its called the gradle icon. Make sure you turn on the internet. Background process at least 2 mins upon your net speed will download some files.

  9. Go to settings in file menu -> gradle and select offline work in global gradle setting and click OK.

If this doesn't work I have a few more solutions at hand from the forums.

I get this Error:(5, 0) Build script error, unsupported Gradle DSL method found: 'jcenter()'!

Possible causes could be:

  • you are using Gradle version where the method is absent (<a href="open_gradle_settings">Fix Gradle settings</a>)
  • you didn't apply Gradle plugin which provides the method (<a href="apply_gradle_plugin">Apply Gradle plugin</a>)
  • or there is a mistake in a build script (<a href="goto_source">Goto source</a>) After all the steps

It's had been quite a gradle day yesterday :) . My colleague just started using Android Studio, and she ran into similar problems. What worked eventually is when she downloaded the android studio again (Mac version) and did fresh install (removing the older one using app cleaner)

I'm not sure how valid it is, but I was reading in this forum that a new fix is available with the latest download. Maybe you could try that.

Li Lin
Li Lin
5,007 Points

YES you are right! the SDKs are now updating!! Thanks so much Gunjeet, you are the best!

I'm glad it worked. See you around!

I'm having the same issue with windows version with Android Studio and Eclipse and ideas? Thank you.

I had this issue as well. I restarted Android Studio. It popped with the firewall message and I made sure to check mark both private and public networks and hit allow access. This resolved my problem.