• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Can't Install Android platforms on Android SDK  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I’m new to programming, so i’m sorry if this one is a dumb post. I’ve just installed Eclipse 3.5, the latest jdk, the ADT plugin and developer tools, and the Android SDK. When I try to download the available packages, I get the following message:

“Done. Nothing was installed.

Downloading Documentation for Android ‘Honeycomb’ Preview SDK, revision 1
File not found: c:\Program Files (x86)\Android\android-sdk-windows\temp\docs-Honeycomb_pre_r01-linux.zip (Access is denied)
Downloading SDK Platform Android Honeycomb Preview, revision 1
File not found: c:\Program Files (x86)\Android\android-sdk-windows\temp\android-3.0_pre_r01-linux.zip (Access is denied)
Downloading SDK Platform Android 2.3.1, API 9, revision 2
File not found: c:\Program Files (x86)\Android\android-sdk-windows\temp\android-2.3.1_r02-linux.zip (Access is denied)
Downloading SDK Platform Android 2.2, API 8, revision 2
File not found: c:\Program Files (x86)\Android\android-sdk-windows\temp\android-2.2_r02-windows.zip (Access is denied)
Downloading SDK Platform Android 2.1, API 7, revision 2
File not found: c:\Program Files (x86)\Android\android-sdk-windows\temp\android-2.1_r02-windows.zip (Access is denied)
Downloading SDK Platform Android 1.6, API 4, revision 3
File not found: c:\Program Files (x86)\Android\android-sdk-windows\temp\android-1.6_r03-windows.zip (Access is denied)
Downloading SDK Platform Android 1.5, API 3, revision 4
File not found: c:\Program Files (x86)\Android\android-sdk-windows\temp\android-1.5_r04-windows.zip (Access is denied)
Downloading Samples for SDK API Honeycomb Preview, revision 1
File not found: c:\Program Files (x86)\Android\android-sdk-windows\temp\samples-Honeycomb_pre_r01-linux.zip (Access is denied)
Downloading Samples for SDK API 9, revision 1
File not found: c:\Program Files (x86)\Android\android-sdk-windows\temp\samples-2.3_r01-linux.zip (Access is denied)
Downloading Samples for SDK API 8, revision 1
File not found: c:\Program Files (x86)\Android\android-sdk-windows\temp\samples-2.2_r01-linux.zip (Access is denied)
Downloading Samples for SDK API 7, revision 1
File not found: c:\Program Files (x86)\Android\android-sdk-windows\temp\samples-2.1_r01-linux.zip (Access is denied)”

I have downloaded everything the developer.android.com website requires. I am wondering if these messages, specifically “access is denied” is due to system/admin restrictions on certain folders… Could somebody please help me? Thank you in advance!

-Chris
 
Marshal
Posts: 61697
193
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are new to programming you probably won't need Android for a bit. You should also not use Eclipse at this stage. Get a decent text editor (eg Notepad2, Notepad++, jEdit) and learn to use the command line before using Eclipse.

But, I agree, those error messages do look like admin restrictions.

Anybody else with more information, please post here.
 
Greenhorn
Posts: 1
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For Vista/Win 7, right click on the SDK/AVD Manager shortcut and click "Run as Administrator"
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Move everything (Eclipse, Andorid SDK) out of the Program Files folder. That folder is protected and weird things can happen if you don't know all of the nuances of how Vista and Win 7 handle that folder. I have my Eclipse and Android SDK in c:\opt\android.
 
Ranch Hand
Posts: 228
Android IntelliJ IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Agree with what Peter says.

I have the following structure and it works quite well

c:\development\tools (sdks etc here)
c:\development\projects\<project_name> (code here)

Then you don't have to get tangled up with permissions in Program files
 
Greenhorn
Posts: 1
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Solution:
1) Go to C:\Program Files\Android\android-sdk-windows
2) PROPERTIES on "SDK Manager"
3) Click on "Compatibility"
4) Enable "Run this program as Administrator"
5) OK
6) Run again. It will work.

(I'm spanish, i've tried to translate all the process, sorry for the mistakes)
Cheers!
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running Windows 7 on my computer and I had same problem and struggled with this for some time and I couldn't get it to work. I tried to run in compatibility mode as Administrator to no avail. I eventually moved the Andriod SDK outside of the Programs files directory to the c:\Andriod\. It worked with any further hassle.


 
Ranch Hand
Posts: 85
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Christopher Gonzales! I was facing same problem while working behind a firewall. There is some configuration options i.e. you may use http instead of https in the window that appears for downloads when you click on download now. Changing to http worked for me.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

James Elsey wrote:Agree with what Peter says.

I have the following structure and it works quite well

c:\development\tools (sdks etc here)
c:\development\projects\<project_name> (code here)

Then you don't have to get tangled up with permissions in Program files



Its great information. Thanks James
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!