Android SDK 管理器的 GUI 消失了吗? [英] Is GUI for Android SDK manager gone?

查看:35
本文介绍了Android SDK 管理器的 GUI 消失了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很少为 Android 做一些事情,所以我有点困惑.之前有两种类型的安装 - Android Studio 和 Android SDK.我有 IDEA,所以我不需要 Studio.通常我会下载带有 UI 工具来下载其组件的 SDK.

I rarely do something for Android so I'm a bit confused. While back there were two type of installations - Android Studio and just Android SDK. I have IDEA so I don't need Studio. Typically I download SDK that have UI tool to download its components.

我刚收到 https://dl.google.com/android/repository/tools_r25.2.3-linux.zip 我在里面看不到 UI SDK Manager.有 bin/sdkmanager shell 脚本.但这对我来说有点不方便,因为通过 --list 的输出、复制粘贴包名称和运行 sdkmanager 会花费太多时间.

I just got https://dl.google.com/android/repository/tools_r25.2.3-linux.zip and I can't see UI SDK Manager in it. There is bin/sdkmanager shell script. But it's kinda inconvenient for my purpose because going through output of --list, copy-pasting packages names and running sdkmanager would take too much time.

现在快速安装的方法是什么?

What's the way of installing this quickly now ?

附注.我使用的是 Ubuntu 16.10,以防万一.

PS. I'm on Ubuntu 16.10 in case it matters.

PS2.我刚刚按照 sdkmanager "platforms;android-25">documentation 但在我同意条款后它没有给出任何输出.它在哪里安装SDK文件?它甚至安装了吗?太棒了.

PS2. I just tried sdkmanager "platforms;android-25" as per documentation but it gave no output after me agreeing to terms. Where did it install SDK files? Did it even install it? Amazing.

推荐答案

看起来像 我不是唯一一个不得不面对这种白痴的人.安装方式

  1. zip解压到某个/parent 文件夹,所以它有 /parent/tools.我将 zip 的 tools 的内容提取到 /androidsdk 并且是错误的.脚本找不到它.
  2. ANDROID_HOME 设置为 /parent 文件夹.
  3. 运行 /parent/tools/android sdk 以查看 SDK Manager 的 GUI.
  1. Unpack zip to some /parent folder so it has /parent/tools. I extracted content of zip's tools to /androidsdk and it was mistake. Script couldn't find it.
  2. Set ANDROID_HOME to /parent folder.
  3. Run /parent/tools/android sdk to see SDK Manager's GUI.

Google,是否很难在安装 zip 中留下执行上述操作的脚本,这样人们就不需要浪费 40 分钟在谷歌上搜索?

Google, was it hard to leave script that does the above in installation zip so people don't need to waste 40 minutes googling around ?

这篇关于Android SDK 管理器的 GUI 消失了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆