首页 > 代码库 > linux install android sdk

linux install android sdk

  1. 下载 linux版本sdk,解压(使用代理:203.208.46.146 dl-ssl.google.com)

  2. 解压后,配好环境变量path,执行:android  list sdk --extended --all,列出所有扩展工具及对应版本,如下:

    packages available for installation or update: 55

    id: 1 or “tools”
    Type: Tool

    Desc: Android SDK Tools, revision 23.0.2

    id: 2 or “platform-tools”
    Type: PlatformTool

    Desc: Android SDK Platform-tools, revision 20

    id: 3 or “build-tools-20.0.0”
    Type: BuildTool
    Desc: Android SDK Build-tools, revision 20

    找到指定类型的id,按照需要下载:android update sdk -u -a -s -t 18,19,14,参数请参考:android –help update sdk

linux install android sdk