加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

如何通过命令行在Linux中更新Android SDK

发布时间:2020-12-13 18:30:52 所属栏目:Linux 来源:网络整理
导读:是否有ubuntu命令行命令来更新我的 Android API,我需要下载android-19 注意:我只使用ubuntu命令行,没有GUI. 谢谢, 解决方法 从 documentation: Starting with Tools R12,the SDK Manager offers a slightly better way to update the SDK from command-lin
是否有ubuntu命令行命令来更新我的 Android API,我需要下载android-19

注意:我只使用ubuntu命令行,没有GUI.

谢谢,

解决方法

从 documentation:

Starting with Tools R12,the SDK Manager offers a slightly better way
to update the SDK from command-line.

Previously the “android update sdk --no-ui” command already allowed
one to update from the command-line,but it had the annoying tendency
of installing every single platform or add-on. There are now 30 or
more packages available on the SDK repository,including 12 platforms;
that’s a lot to download when most people only need the most recent
platform. Starting with R12,you can use combine new things:

  • android list sdk” will connect to the remote repository and list all the
    packages available with an index number.

  • android update sdk --no-ui
    accepts a “--filter” argument that can take a package index,or a
    category name.

Here’s an example in action:

There’s still room for improvement,notably in a future release we’ll work on the first install case and making the update smarter at figuring out what to get.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读