Reputation: 1094
I really hate to ask this because there are already a bunch of topics on it here, but I have no choice. I've tried them all and nothing is working. I scoured Google for two days straight looking for answers and have come up with nothing.
My problem is that the Android SDK won't update/connect to the site to download updates/anything. I've tried everything other people have recommended and nothing works.
When I open Eclipse, I get the error message "SDK Platform Tools component is missing." It also can't locate ADB.exe. I've seen this answered here before -- just update/download the tools through the SDK manager. Or, some answers have said through the "SDK and AVD Manager" but in my Eclipse they are separate. But it won't connect. Apparently newbies can't post images, so forgive me, but here is the message I get:
http://img534.imageshack.us/img534/1580/sdkproblem1.jpg
Then when it finishes:
http://img843.imageshack.us/img843/4307/sdkproblem2.jpg
What happens when I try others' solutions/why I'm frustrated:
When I click 'tools', there are no other options than "manage add-on sites". When I fire up the SDK .exe file it closes automatically. Same with the AVD manager. One solution said to create a new user on windows and fire it up from there. Strangely, that did help a little bit: now when I click tools, there is an 'options' with 'force http://' as others have suggested, but doing so does nothing. I get the same 'failed to connect' while trying to fetch message.
Disabling my anti-virus and firewall does nothing.
I'm doing this at home, so there are no proxy-related issues.
Some background info:
I'm running Windows Vista 64-bit. I'm a beginning developer (having developed exactly nothing so far), so I've just downloaded all the tools I need, using the most recent of everything -- the JDK (SE 7u2), the Android SDK (r16), Eclipse Indigo, and the ADT plugin (16.0.1).
At first I was having problems loading the ADT plugin, but I switched from Eclipse Classic to Eclipse IDE for Java Developers and the ADT plugin worked after that. So, if you're wondering, that's why I'm using Eclipse for Java Developers instead of Classic.
Please help me. I can't get anything started until I figure this out and it's extremely frustrating finding so many solutions but none of them actually working for me.
Upvotes: 3
Views: 2899
Reputation: 20936
I guess that the problem is that you use proxy. I don't remember clearly but you have to run SDKManager.exe (not from eclipse), find section about proxy and fill this section with yours parameters.
UPDATE: I've also found that you've installed JDK 7. For the Android SDK you should use JDK 5 or JDK 6. Maybe this is the problem but I'm not sure. Try to install JDK 6.
Upvotes: 1