Android SDK download with Eclipse, getting error message: Failed to create directory C:/

Why does this happen? It doesn’t matter which package I pick, always the same error message:

Downloading Android SDK Platform-tools, revision 3
Failed to create directory C:\Program Files\Android\android-sdk\temp

  • Apply Different Style to Button When Pressed
  • Get webpage center coordinates on tablet devices using JavaScript
  • Defect of image with ScriptIntrinsicBlur from support library
  • Bug : Theme.Translucent & FLAG_ACTIVITY_REORDER_TO_FRONT
  • DialogFragment fullscreen shows padding on sides
  • datetime('now') gives wrong time
  • Related posts:

    HttpURLConnection.getResponseCode() returns -1 on second invocation
    HTTP get with headers using RestTemplate
    Creating and writing file in to /data folder of android device
    In Android, how do I smoothly fade the background from one color to another? (How to use threads)
    Build release apk with customize name format in Android Studio
    android:windowNoTitle will not hide actionbar with appcompat-v7 21.0.0
  • onSharedPreferenceChanged not fired if change occurs in separate activity?
  • How to Migrate Twitter API from v1 to v1.1?
  • Notification setAutoCancel(true) doesn't work
  • CoordinatorLayout ignores margins for views with anchor
  • Gears or HTML5 Location API on Android 1.5
  • Setting ANDROID_HOME enviromental variable on Mac OS X
  • 7 Solutions collect form web for “Android SDK download with Eclipse, getting error message: Failed to create directory C:/”

    Make sure you have writing permissions for that folder. Try starting Eclipse or the SDK Manager as Administrator.

    You only have to run SDK Manager as Administrator, right click and select Run as Administrator.

    If you put the Android SDK (or anything else) in Program Files, Windows will, by default, require Admin access to edit files in it. But you can change that by changing the folder permissions:

    In Windows, right click on the android SDK folder, click Properties. Go to the Security tab, click Edit to change the permissions. Select normal Users and check the box to Allow Full control.

    Then, applications that you launch as a normal user will be able to edit the SDK, such as to update it or compile libraries in it.

    Please whether the directory C:\Program Files\Android\android-sdk\temp is already there. If there you see the temp folder then delete the temp folder and try again. It will be installed then.

    You can also try installing Android outside of Program Files. I usually put it in C:\Android, then there are no permission issues.

    Actually the folder /temp didn’t exist for me, so I just created it and then all was fine.

    Yes, after that you need to run android SDK as administrator to download the API/platforms.

    If anything looks strange (like a list of incomplete names) no worry, close it, and reopen it after 10sec.

    Run SDK Manager as Administrator, right click and select run as Administrator. It’s one of the amazing things of W7, ;p

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.