当前位置:   article > 正文

Linux系统下安装android sdk的方法步骤_linux下载 android sdk33

linux下载 android sdk33

直接下载解压:

wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz
  • 1

关于后续的sdk更新,可以使用命令行版本的sdkmanager

直接更新到最新的sdk:

tools/android update sdk --no-ui
  • 1
  • 2

显示所有的sdk版本

android list sdk --all
  • 1
[root@localhost tools]# ./android list sdk --all
Refresh Sources:
  Fetching https://dl.google.com/android/repository/addons_list-2.xml
  Validate XML
  Parse XML
  Fetched Add-ons List successfully
  Refresh Sources
  Fetching URL: https://dl.google.com/android/repository/repository-11.xml
  Validate XML: https://dl.google.com/android/repository/repository-11.xml
  Parse XML:    https://dl.google.com/android/repository/repository-11.xml
  Fetching URL: https://dl.google.com/android/repository/addon.xml
  Validate XML: https://dl.google.com/android/repository/addon.xml
  Parse XML:    https://dl.google.com/android/repository/addon.xml
  Fetching URL: https://dl.google.com/android/repository/glass/addon.xml
  Validate XML: https://dl.google.com/android/repository/glass/addon.xml
  Parse XML:    https://dl.google.com/android/repository/glass/addon.xml
  Fetching URL: https://dl.google.com/android/repository/extras/intel/addon.xml
  Validate XML: https://dl.google.com/android/repository/extras/intel/addon.xml
  Parse XML:    https://dl.google.com/android/repository/extras/intel/addon.xml
  Fetching URL: https://dl.google.com/android/repository/sys-img/android/sys-img.xml
  Validate XML: https://dl.google.com/android/repository/sys-img/android/sys-img.xml
  Parse XML:    https://dl.google.com/android/repository/sys-img/android/sys-img.xml
  Fetching URL: https://dl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Validate XML: https://dl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Parse XML:    https://dl.google.com/android/repository/sys-img/android-wear/sys-img.xml
  Fetching URL: https://dl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Validate XML: https://dl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Parse XML:    https://dl.google.com/android/repository/sys-img/android-tv/sys-img.xml
  Fetching URL: https://dl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Validate XML: https://dl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Parse XML:    https://dl.google.com/android/repository/sys-img/google_apis/sys-img.xml
  Fetching URL: https://dl.google.com/android/repository/sys-img/google_apis_playstore/sys-img.xml
  Validate XML: https://dl.google.com/android/repository/sys-img/google_apis_playstore/sys-img.xml
  Parse XML:    https://dl.google.com/android/repository/sys-img/google_apis_playstore/sys-img.xml
Packages available for installation or update: 213
   1- Android SDK Tools, revision 25.2.5
   2- Android SDK Platform-tools, revision 28
   3- Android SDK Build-tools, revision 28.0.2
   4- Android SDK Build-tools, revision 28.0.1
   5- Android SDK Build-tools, revision 28
   6- Android SDK Build-tools, revision 27.0.3
   7- Android SDK Build-tools, revision 27.0.2
   8- Android SDK Build-tools, revision 27.0.1
   9- Android SDK Build-tools, revision 27
  10- Android SDK Build-tools, revision 26.0.3
  11- Android SDK Build-tools, revision 26.0.2
  12- Android SDK Build-tools, revision 26.0.1
  13- Android SDK Build-tools, revision 26
  14- Android SDK Build-tools, revision 25.0.3
  15- Android SDK Build-tools, revision 25.0.2
  16- Android SDK Build-tools, revision 25.0.1
  17- Android SDK Build-tools, revision 25
  18- Android SDK Build-tools, revision 24.0.3
  19- Android SDK Build-tools, revision 24.0.2
  20- Android SDK Build-tools, revision 24.0.1
  21- Android SDK Build-tools, revision 24
  22- Android SDK Build-tools, revision 23.0.3
  23- Android SDK Build-tools, revision 23.0.2
  24- Android SDK Build-tools, revision 23.0.1
  25- Android SDK Build-tools, revision 23 (Obsolete)
  26- Android SDK Build-tools, revision 22.0.1
  27- Android SDK Build-tools, revision 22 (Obsolete)
  28- Android SDK Build-tools, revision 21.1.2
  29- Android SDK Build-tools, revision 21.1.1 (Obsolete)
  30- Android SDK Build-tools, revision 21.1 (Obsolete)
  31- Android SDK Build-tools, revision 21.0.2 (Obsolete)
  32- Android SDK Build-tools, revision 21.0.1 (Obsolete)
  33- Android SDK Build-tools, revision 21 (Obsolete)
  34- Android SDK Build-tools, revision 20
  35- Android SDK Build-tools, revision 19.1
  36- Android SDK Build-tools, revision 19.0.3 (Obsolete)
  37- Android SDK Build-tools, revision 19.0.2 (Obsolete)
  38- Android SDK Build-tools, revision 19.0.1 (Obsolete)
  39- Android SDK Build-tools, revision 19 (Obsolete)
  40- Android SDK Build-tools, revision 18.1.1 (Obsolete)
  41- Android SDK Build-tools, revision 18.1 (Obsolete)
  42- Android SDK Build-tools, revision 18.0.1 (Obsolete)
  43- Android SDK Build-tools, revision 17 (Obsolete)
  44- Documentation for Android SDK, API 24, revision 1
  45- SDK Platform Android 9, API 28, revision 6
  46- SDK Platform Android 8.1.0, API 27, revision 3
  47- SDK Platform Android 8.0.0, API 26, revision 2
  48- SDK Platform Android 7.1.1, API 25, revision 3
  49- SDK Platform Android 7.0, API 24, revision 2
  50- SDK Platform Android 6.0, API 23, revision 3
  51- SDK Platform Android 5.1.1, API 22, revision 2
  52- SDK Platform Android 5.0.1, API 21, revision 2
  53- SDK Platform Android 4.4W.2, API 20, revision 2
  54- SDK Platform Android 4.4.2, API 19, revision 4
  55- SDK Platform Android 4.3.1, API 18, revision 3
  56- SDK Platform Android 4.2.2, API 17, revision 3
  57- SDK Platform Android 4.1.2, API 16, revision 5
  58- SDK Platform Android 4.0.3, API 15, revision 5
  59- SDK Platform Android 4.0, API 14, revision 4
  60- SDK Platform Android 3.2, API 13, revision 1
  61- SDK Platform Android 3.1, API 12, revision 3
  62- SDK Platform Android 3.0, API 11, revision 2
  63- SDK Platform Android 2.3.3, API 10, revision 2
  64- SDK Platform Android 2.3.1, API 9, revision 2
  65- SDK Platform Android 2.2, API 8, revision 3
  66- SDK Platform Android 2.1, API 7, revision 3
  67- SDK Platform Android 2.0.1, API 6, revision 1 (Obsolete)
  68- SDK Platform Android 2.0, API 5, revision 1 (Obsolete)
  69- SDK Platform Android 1.6, API 4, revision 3 (Obsolete)
  70- SDK Platform Android 1.5, API 3, revision 4 (Obsolete)
  71- SDK Platform Android 1.1, API 2, revision 1 (Obsolete)
  72- Android TV Intel x86 Atom System Image, Android API 28, revision 5
  73- Intel x86 Atom_64 System Image, Android API 28, revision 4
  74- Intel x86 Atom System Image, Android API 28, revision 4
  75- Google Play Intel x86 Atom_64 System Image, Android API 28, revision 5
  76- Google Play Intel x86 Atom System Image, Android API 28, revision 5
  77- Google APIs Intel x86 Atom_64 System Image, Android API 28, revision 5
  78- Google APIs Intel x86 Atom System Image, Android API 28, revision 5
  79- Wear OS Intel x86 Atom System Image, Android API P, revision 2
  80- Android TV Intel x86 Atom System Image, Android API 27, revision 5
  81- Intel x86 Atom_64 System Image, Android API 27, revision 1
  82- Intel x86 Atom System Image, Android API 27, revision 1
  83- Google Play Intel x86 Atom System Image, Android API 27, revision 3
  84- Google APIs Intel x86 Atom System Image, Android API 27, revision 7
  85- Android TV Intel x86 Atom System Image, Android API 26, revision 10
  86- Android Wear Intel x86 Atom System Image, Android API 26, revision 4
  87- Intel x86 Atom_64 System Image, Android API 26, revision 1
  88- Intel x86 Atom System Image, Android API 26, revision 1
  89- Google Play Intel x86 Atom System Image, Android API 26, revision 7
  90- Google APIs Intel x86 Atom_64 System Image, Android API 26, revision 11
  91- Google APIs Intel x86 Atom System Image, Android API 26, revision 11
  92- Android TV Intel x86 Atom System Image, Android API 25, revision 12
  93- Android Wear ARM EABI v7a System Image, Android API 25, revision 3
  94- Android Wear Intel x86 Atom System Image, Android API 25, revision 3
  95- Intel x86 Atom_64 System Image, Android API 25, revision 1
  96- Intel x86 Atom System Image, Android API 25, revision 1
  97- Google Play Intel x86 Atom System Image, Android API 25, revision 9
  98- Google APIs ARM 64 v8a System Image, Android API 25, revision 14
  99- Google APIs ARM EABI v7a System Image, Android API 25, revision 14
 100- Google APIs Intel x86 Atom_64 System Image, Android API 25, revision 14
 101- Google APIs Intel x86 Atom System Image, Android API 25, revision 14
 102- Android TV Intel x86 Atom System Image, Android API 24, revision 18
 103- ARM 64 v8a System Image, Android API 24, revision 7
 104- ARM EABI v7a System Image, Android API 24, revision 7
 105- Intel x86 Atom_64 System Image, Android API 24, revision 8
 106- Intel x86 Atom System Image, Android API 24, revision 8
 107- Google Play Intel x86 Atom System Image, Android API 24, revision 19
 108- Google APIs ARM 64 v8a System Image, Android API 24, revision 23
 109- Google APIs ARM EABI v7a System Image, Android API 24, revision 23
 110- Google APIs Intel x86 Atom_64 System Image, Android API 24, revision 23
 111- Google APIs Intel x86 Atom System Image, Android API 24, revision 23
 112- Android TV ARM EABI v7a System Image, Android API 23, revision 12
 113- Android TV Intel x86 Atom System Image, Android API 23, revision 17
 114- Android Wear ARM EABI v7a System Image, Android API 23, revision 6
 115- Android Wear Intel x86 Atom System Image, Android API 23, revision 6
 116- Intel x86 Atom_64 System Image, Android API 23, revision 10
 117- Intel x86 Atom System Image, Android API 23, revision 10
 118- Google APIs ARM EABI v7a System Image, Android API 23, revision 29
 119- Google APIs Intel x86 Atom_64 System Image, Android API 23, revision 29
 120- Google APIs Intel x86 Atom System Image, Android API 23, revision 29
 121- Android TV Intel x86 Atom System Image, Android API 22, revision 3
 122- ARM EABI v7a System Image, Android API 22, revision 2
 123- Intel x86 Atom_64 System Image, Android API 22, revision 6
 124- Intel x86 Atom System Image, Android API 22, revision 6
 125- Google APIs ARM EABI v7a System Image, Android API 22, revision 22
 126- Google APIs Intel x86 Atom_64 System Image, Android API 22, revision 22
 127- Google APIs Intel x86 Atom System Image, Android API 22, revision 22
 128- Android TV ARM EABI v7a System Image, Android API 21, revision 3
 129- Android TV Intel x86 Atom System Image, Android API 21, revision 3
 130- ARM EABI v7a System Image, Android API 21, revision 4
 131- Intel x86 Atom_64 System Image, Android API 21, revision 5
 132- Intel x86 Atom System Image, Android API 21, revision 5
 133- Google APIs ARM EABI v7a System Image, Android API 21, revision 28
 134- Google APIs Intel x86 Atom_64 System Image, Android API 21, revision 28
 135- Google APIs Intel x86 Atom System Image, Android API 21, revision 28
 136- ARM EABI v7a System Image, Android API 19, revision 5
 137- Intel x86 Atom System Image, Android API 19, revision 6
 138- Google APIs ARM EABI v7a System Image, Android API 19, revision 36
 139- Google APIs Intel x86 Atom System Image, Android API 19, revision 36
 140- ARM EABI v7a System Image, Android API 18, revision 4
 141- Intel x86 Atom System Image, Android API 18, revision 3
 142- Google APIs ARM EABI v7a System Image, Android API 18, revision 5
 143- Google APIs Intel x86 Atom System Image, Android API 18, revision 5
 144- ARM EABI v7a System Image, Android API 17, revision 5
 145- Intel x86 Atom System Image, Android API 17, revision 3
 146- MIPS System Image, Android API 17, revision 1
 147- Google APIs ARM EABI v7a System Image, Android API 17, revision 5
 148- Google APIs Intel x86 Atom System Image, Android API 17, revision 5
 149- ARM EABI v7a System Image, Android API 16, revision 4
 150- Intel x86 Atom System Image, Android API 16, revision 5
 151- MIPS System Image, Android API 16, revision 1
 152- Google APIs Intel x86 Atom System Image, Android API 16, revision 5
 153- ARM EABI v7a System Image, Android API 15, revision 4
 154- Intel x86 Atom System Image, Android API 15, revision 4
 155- Google APIs ARM EABI v7a System Image, Android API 15, revision 5
 156- Google APIs Intel x86 Atom System Image, Android API 15, revision 5
 157- ARM EABI v7a System Image, Android API 14, revision 2
 158- ARM EABI v7a System Image, Android API 10, revision 4
 159- Intel x86 Atom System Image, Android API 10, revision 4
 160- Google APIs ARM EABI v7a System Image, Android API 10, revision 5
 161- Google APIs Intel x86 Atom System Image, Android API 10, revision 5
 162- Google APIs, Android API 24, revision 1
 163- Google APIs, Android API 23, revision 1
 164- Google APIs, Android API 22, revision 1
 165- Google APIs, Android API 21, revision 1
 166- Google APIs, Android API 19, revision 20
 167- Glass Development Kit Preview, Android API 19, revision 11
 168- Google APIs, Android API 18, revision 4
 169- Google APIs, Android API 17, revision 4
 170- Google APIs, Android API 16, revision 4
 171- Google APIs, Android API 15, revision 3
 172- Google APIs, Android API 14, revision 2 (Obsolete)
 173- Google APIs, Android API 13, revision 1 (Obsolete)
 174- Google TV Addon, Android API 13, revision 1 (Obsolete)
 175- Google APIs, Android API 12, revision 1 (Obsolete)
 176- Google TV Addon, Android API 12, revision 2 (Obsolete)
 177- Google APIs, Android API 11, revision 1 (Obsolete)
 178- Google APIs, Android API 10, revision 2 (Obsolete)
 179- Google APIs, Android API 9, revision 2 (Obsolete)
 180- Google APIs, Android API 8, revision 2 (Obsolete)
 181- Google APIs, Android API 7, revision 1 (Obsolete)
 182- Google APIs, Android API 6, revision 1 (Obsolete)
 183- Google APIs, Android API 5, revision 1 (Obsolete)
 184- Google APIs, Android API 4, revision 2 (Obsolete)
 185- Google APIs, Android API 3, revision 3 (Obsolete)
 186- Sources for Android SDK, API 28, revision 1
 187- Sources for Android SDK, API 27, revision 1
 188- Sources for Android SDK, API 26, revision 1
 189- Sources for Android SDK, API 25, revision 1
 190- Sources for Android SDK, API 24, revision 1
 191- Sources for Android SDK, API 23, revision 1
 192- Sources for Android SDK, API 22, revision 1
 193- Sources for Android SDK, API 21, revision 1
 194- Sources for Android SDK, API 20, revision 1
 195- Sources for Android SDK, API 19, revision 2
 196- Sources for Android SDK, API 18, revision 1
 197- Sources for Android SDK, API 17, revision 1
 198- Sources for Android SDK, API 16, revision 2
 199- Sources for Android SDK, API 15, revision 2
 200- Sources for Android SDK, API 14, revision 1 (Obsolete)
 201- Android Support Repository, revision 47
 202- Google AdMob Ads SDK, revision 11 (Obsolete)
 203- Google Analytics App Tracking SDK, revision 3 (Obsolete)
 204- Android Auto Desktop Head Unit emulator, revision 1.1
 205- Google Cloud Messaging for Android Library, revision 3 (Obsolete)
 206- Google Play services for Froyo, revision 12 (Obsolete)
 207- Google Play services, revision 49
 208- Google Play Instant Development SDK, revision 1.4
 209- Google Repository, revision 58
 210- Google Play APK Expansion library, revision 1
 211- Google Play Licensing Library, revision 1
 212- Android Auto API Simulators, revision 1
 213- Google Web Driver, revision 2
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249

然后选择想要更新的版本的编号:


?

1

android update sdk -u -a -t 1,2,3,4

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/人工智能uu/article/detail/796541
推荐阅读
相关标签
  

闽ICP备14008679号