Monday, July 23, 2012

Android SDK Manager missing platform versions

When I first installed the Android SDK I only installed Android 4.0.3 (API 15), which was current at the time. Later I wanted to test against Android 2.2, so I returned to the Android SDK Manager to find that Android 4.0.3 was the only platform version listed. There were also Android 8 and Android 10, but these didn't include the SDK Platform and couldn't be installed.

I googled for a couple of hours and all the advice was the same, install Android 2.2 (API 8). But how does one install it when it isn't in the list of packages to be installed?

I had restarted Android SDK Manager several times and, as I am running on Windows 7, I had been careful to right-click and run as root but this made no difference.

Finally, in desparation, I shut down Windows and re-booted. After this, I started Android SDK Manager (right-click and run as administrator), and the packages list now had a full assortment of platform versions, including Android 2.2 (API 8).

And the lesson is: Android SDK Manager and/or Windows 7 are flakey. Before wasting time researching problems, try a reboot. It may save you hours with Google and reading feedback to instructions for newbs.

No comments:

Labels