Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trouble installing Android 4.2 APIs

Tags:

android

I updated ADT through Eclipse today to version 21. Now when I open the SDK Manager I would expect there to be a folder like "Android 4.2 (API 17)", which would contain the SDK Platform and APIs, documentation, etc. However, instead I just get a folder called "API 17", and the only thing in it is "Google APIs", which I can't even install because

Installing this package also requires installing: - Missing SDK Platform Android, API 17

What do I do here? Thanks

like image 848
Nick Avatar asked Nov 14 '12 04:11

Nick


4 Answers

I figured this out myself after some poking around. I went into the settings for the SDK Manager, cleared the cache, and told it to use HTTPS, then refreshed the listing and it all appeared normally.

like image 107
Nick Avatar answered Nov 16 '22 15:11

Nick


Eclipse > Window > Android SDK Manager > Packages > Reload

It then properly updated the UI to let me choose updated software.

Why do I need to click "Reload" manually ?! I expect that to happen automatically when I open the SDK Manager.

like image 34
Someone Somewhere Avatar answered Nov 16 '22 16:11

Someone Somewhere


By this step~

1) Eclipse > Window > Android SDK Manager > Packages > Reload

2) then install the sdk

ref: http://my.eoe.cn/iceskysl/archive/1027.html

like image 16
iceskysl Avatar answered Nov 16 '22 17:11

iceskysl


Eclipse > Window > Android SDK Manager > Preferences > Clear Cache Button click> Done.

like image 11
Hoyin Avatar answered Nov 16 '22 17:11

Hoyin