|
| 1 | +# Android SDK snapshot |
| 2 | + |
| 3 | +What was installed in `$ANDROID_HOME` (`~/Library/Android/sdk`) on 2026-08-27, taken |
| 4 | +before the platform jars for API 21-37 were added to generate the Android typings. |
| 5 | + |
| 6 | +Reinstall any one of these with: |
| 7 | + |
| 8 | +```sh |
| 9 | +"$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" "<package>" |
| 10 | +``` |
| 11 | + |
| 12 | +## Platforms |
| 13 | + |
| 14 | +These were present with their complete contents (`data/`, `skins/`, `templates/`, |
| 15 | +sources and stubs). Platforms added afterwards to generate typings hold only |
| 16 | +`android.jar`; reinstalling one restores it in full. |
| 17 | + |
| 18 | +| Package | Version | Description | |
| 19 | +| --- | --- | --- | |
| 20 | +| `platforms;android-28` | 6 | Android SDK Platform 28 | |
| 21 | +| `platforms;android-31` | 1 | Android SDK Platform 31 | |
| 22 | +| `platforms;android-34` | 3 | Android SDK Platform 34 | |
| 23 | +| `platforms;android-35` | 2 | Android SDK Platform 35 | |
| 24 | +| `platforms;android-36` | 2 | Android SDK Platform 36 | |
| 25 | + |
| 26 | +## Everything else |
| 27 | + |
| 28 | +### Build tools |
| 29 | + |
| 30 | +| Package | Version | Description | |
| 31 | +| --- | --- | --- | |
| 32 | +| `build-tools;27.0.3` | 27.0.3 | Android SDK Build-Tools 27.0.3 | |
| 33 | +| `build-tools;28.0.2` | 28.0.2 | Android SDK Build-Tools 28.0.2 | |
| 34 | +| `build-tools;28.0.3` | 28.0.3 | Android SDK Build-Tools 28.0.3 | |
| 35 | +| `build-tools;29.0.2` | 29.0.2 | Android SDK Build-Tools 29.0.2 | |
| 36 | +| `build-tools;29.0.3` | 29.0.3 | Android SDK Build-Tools 29.0.3 | |
| 37 | +| `build-tools;30.0.1` | 30.0.1 | Android SDK Build-Tools 30.0.1 | |
| 38 | +| `build-tools;30.0.2` | 30.0.2 | Android SDK Build-Tools 30.0.2 | |
| 39 | +| `build-tools;30.0.3` | 30.0.3 | Android SDK Build-Tools 30.0.3 | |
| 40 | +| `build-tools;31.0.0` | 31.0.0 | Android SDK Build-Tools 31 | |
| 41 | +| `build-tools;32.0.0` | 32.0.0 | Android SDK Build-Tools 32 | |
| 42 | +| `build-tools;32.1.0-rc1` | 32.1.0 rc1 | Android SDK Build-Tools 32.1-rc1 | |
| 43 | +| `build-tools;33.0.0` | 33.0.0 | Android SDK Build-Tools 33 | |
| 44 | +| `build-tools;33.0.0-rc1` | 33.0.0 rc1 | Android SDK Build-Tools 33-rc1 | |
| 45 | +| `build-tools;33.0.1` | 33.0.1 | Android SDK Build-Tools 33.0.1 | |
| 46 | +| `build-tools;34.0.0` | 34.0.0 | Android SDK Build-Tools 34 | |
| 47 | +| `build-tools;35.0.0` | 35.0.0 | Android SDK Build-Tools 35 | |
| 48 | +| `build-tools;35.0.1` | 35.0.1 | Android SDK Build-Tools 35.0.1 | |
| 49 | +| `build-tools;36.0.0` | 36.0.0 | Android SDK Build-Tools 36 | |
| 50 | + |
| 51 | +### Platform tools |
| 52 | + |
| 53 | +| Package | Version | Description | |
| 54 | +| --- | --- | --- | |
| 55 | +| `platform-tools` | 37.0.0 | Android SDK Platform-Tools | |
| 56 | + |
| 57 | +### Command-line tools |
| 58 | + |
| 59 | +| Package | Version | Description | |
| 60 | +| --- | --- | --- | |
| 61 | +| `cmdline-tools;latest` | 19.0 | Android SDK Command-line Tools (latest) | |
| 62 | + |
| 63 | +### NDK |
| 64 | + |
| 65 | +| Package | Version | Description | |
| 66 | +| --- | --- | --- | |
| 67 | +| `ndk;23.2.8568313` | 23.2.8568313 | NDK (Side by side) 23.2.8568313 | |
| 68 | +| `ndk;26.1.10909125` | 26.1.10909125 | NDK (Side by side) 26.1.10909125 | |
| 69 | +| `ndk;27.3.13750724` | 27.3.13750724 | NDK (Side by side) 27.3.13750724 | |
| 70 | +| `ndk;29.0.14206865` | 29.0.14206865 | NDK (Side by side) 29.0.14206865 | |
| 71 | + |
| 72 | +### CMake |
| 73 | + |
| 74 | +| Package | Version | Description | |
| 75 | +| --- | --- | --- | |
| 76 | +| `cmake;3.10.2.4988404` | 3.10.2 | CMake 3.10.2.4988404 | |
| 77 | +| `cmake;3.18.1` | 3.18.1 | CMake 3.18.1 | |
| 78 | +| `cmake;3.22.1` | 3.22.1 | CMake 3.22.1 | |
| 79 | +| `cmake;3.31.6` | 3.31.6 | CMake 3.31.6 | |
| 80 | + |
| 81 | +### System images |
| 82 | + |
| 83 | +| Package | Version | Description | |
| 84 | +| --- | --- | --- | |
| 85 | +| `system-images;android-33;google_apis;arm64-v8a` | 17 | Google APIs ARM 64 v8a System Image | |
| 86 | +| `system-images;android-35;google_apis_playstore;arm64-v8a` | 9 | Google Play ARM 64 v8a System Image | |
| 87 | +| `system-images;android-36.1;google_apis;arm64-v8a` | 4 | Google APIs ARM 64 v8a System Image | |
| 88 | +| `system-images;android-36.1;google_apis_playstore;arm64-v8a` | 3 | Google Play ARM 64 v8a System Image | |
| 89 | + |
| 90 | +### Emulator |
| 91 | + |
| 92 | +| Package | Version | Description | |
| 93 | +| --- | --- | --- | |
| 94 | +| `emulator` | 36.6.11 | Android Emulator | |
| 95 | + |
| 96 | +### Extras |
| 97 | + |
| 98 | +| Package | Version | Description | |
| 99 | +| --- | --- | --- | |
| 100 | +| `extras;google;google_play_services` | 49 | Google Play services | |
| 101 | + |
| 102 | +### Skia parser |
| 103 | + |
| 104 | +| Package | Version | Description | |
| 105 | +| --- | --- | --- | |
| 106 | +| `skiaparser;1` | 6 | Layout Inspector image server for API 29-30 | |
| 107 | +| `skiaparser;2` | 3 | Layout Inspector image server for API S | |
| 108 | +| `skiaparser;3` | 8 | Layout Inspector image server for API 31-36 | |
| 109 | + |
| 110 | +### Patcher |
| 111 | + |
| 112 | +| Package | Version | Description | |
| 113 | +| --- | --- | --- | |
| 114 | +| `patcher;v4` | 1 | SDK Patch Applier v4 | |
| 115 | + |
| 116 | + |
| 117 | +## Platforms present after typings generation |
| 118 | + |
| 119 | +API 21-37 were installed to merge the Android typings. Everything except |
| 120 | +`android.jar`, `package.xml` and `source.properties` was deleted from each newly |
| 121 | +installed platform, which keeps them around 25 MB instead of ~130 MB. Reinstall any |
| 122 | +of them with the command at the top to get the full platform back. |
| 123 | + |
| 124 | +| Platform | Size | Contents | |
| 125 | +| --- | --- | --- | |
| 126 | +| `android-21` | 25M | android.jar only | |
| 127 | +| `android-22` | 25M | android.jar only | |
| 128 | +| `android-23` | 23M | android.jar only | |
| 129 | +| `android-24` | 33M | android.jar only | |
| 130 | +| `android-25` | 33M | android.jar only | |
| 131 | +| `android-26` | 25M | android.jar only | |
| 132 | +| `android-27` | 28M | android.jar only | |
| 133 | +| `android-28` | 166M | full (pre-existing) | |
| 134 | +| `android-29` | 20M | android.jar only | |
| 135 | +| `android-30` | 21M | android.jar only | |
| 136 | +| `android-31` | 117M | full (pre-existing) | |
| 137 | +| `android-32` | 26M | android.jar only | |
| 138 | +| `android-33` | 26M | android.jar only | |
| 139 | +| `android-34` | 126M | full (pre-existing) | |
| 140 | +| `android-35` | 130M | full (pre-existing) | |
| 141 | +| `android-36` | 134M | full (pre-existing) | |
| 142 | +| `android-36.1` | 27M | android.jar only | |
| 143 | +| `android-37.0` | 41M | android.jar only | |
| 144 | +| `android-37.1` | 47M | android.jar + data/api-versions.xml | |
| 145 | + |
| 146 | +`android-37.1` also keeps `data/api-versions.xml`, the file that records the API level every |
| 147 | +class and member appeared in. It is the only platform data file kept, and only for the newest |
| 148 | +platform, because the dts-generator reads it to annotate merged typings. |
| 149 | + |
| 150 | +There is no stable `platforms;android-37.2`; it exists only as `android-37.2-beta1` |
| 151 | +through `-beta3`, so 37.1 is the newest stable platform and the one the typings |
| 152 | +are generated from. |
| 153 | + |
| 154 | +## Restore the whole snapshot |
| 155 | + |
| 156 | +```sh |
| 157 | +"$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" \ |
| 158 | + "build-tools;27.0.3" \ |
| 159 | + "build-tools;28.0.2" \ |
| 160 | + "build-tools;28.0.3" \ |
| 161 | + "build-tools;29.0.2" \ |
| 162 | + "build-tools;29.0.3" \ |
| 163 | + "build-tools;30.0.1" \ |
| 164 | + "build-tools;30.0.2" \ |
| 165 | + "build-tools;30.0.3" \ |
| 166 | + "build-tools;31.0.0" \ |
| 167 | + "build-tools;32.0.0" \ |
| 168 | + "build-tools;32.1.0-rc1" \ |
| 169 | + "build-tools;33.0.0" \ |
| 170 | + "build-tools;33.0.0-rc1" \ |
| 171 | + "build-tools;33.0.1" \ |
| 172 | + "build-tools;34.0.0" \ |
| 173 | + "build-tools;35.0.0" \ |
| 174 | + "build-tools;35.0.1" \ |
| 175 | + "build-tools;36.0.0" \ |
| 176 | + "cmake;3.10.2.4988404" \ |
| 177 | + "cmake;3.18.1" \ |
| 178 | + "cmake;3.22.1" \ |
| 179 | + "cmake;3.31.6" \ |
| 180 | + "cmdline-tools;latest" \ |
| 181 | + "emulator" \ |
| 182 | + "extras;google;google_play_services" \ |
| 183 | + "ndk;23.2.8568313" \ |
| 184 | + "ndk;26.1.10909125" \ |
| 185 | + "ndk;27.3.13750724" \ |
| 186 | + "ndk;29.0.14206865" \ |
| 187 | + "patcher;v4" \ |
| 188 | + "platform-tools" \ |
| 189 | + "platforms;android-28" \ |
| 190 | + "platforms;android-31" \ |
| 191 | + "platforms;android-34" \ |
| 192 | + "platforms;android-35" \ |
| 193 | + "platforms;android-36" \ |
| 194 | + "skiaparser;1" \ |
| 195 | + "skiaparser;2" \ |
| 196 | + "skiaparser;3" \ |
| 197 | + "system-images;android-33;google_apis;arm64-v8a" \ |
| 198 | + "system-images;android-35;google_apis_playstore;arm64-v8a" \ |
| 199 | + "system-images;android-36.1;google_apis;arm64-v8a" \ |
| 200 | + "system-images;android-36.1;google_apis_playstore;arm64-v8a" |
| 201 | +``` |
| 202 | + |
0 commit comments