Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can't Install Android platforms on Android SDK

 
Christopher Gonzales
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
 
Campbell Ritchie
Sheriff
Pie
Posts: 49405
62
  • 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.
 
Flash Bazbo
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"
 
Peter Johnson
author
Bartender
Posts: 5852
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.
 
James Elsey
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
 
Jorge Abascal
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!
 
Seyi Babs
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.


 
Rehan Zahoor
Ranch Hand
Posts: 83
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.
 
mack jackson
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic