[英]Android studio SDK manager is missing
I am following this ionic tutorial and having some trouble with setting up the SDK in Android Studio in order to test my ionic project.我正在关注这个 ionic 教程,但在 Android Studio 中设置 SDK 以测试我的 ionic 项目时遇到了一些麻烦。 I am looking for the SDK manager however it seems to be missing.
我正在寻找 SDK 管理器,但它似乎丢失了。 When I select the configure drop down menu there should be an
SDK manager
option however it is absent (as you can see in the following image):当我选择配置下拉菜单时,应该有一个
SDK manager
选项,但是它不存在(如下图所示):
Likewise when I select settings > Appearance and Behaviour > System settings
, Android SDK
should be an option here.同样,当我选择
settings > Appearance and Behaviour > System settings
, Android SDK
应该是这里的一个选项。
I tried selecting project structure and adding a new SDK like this answer however Android SDK
was not an option as you can see in the following image.我尝试选择项目结构并添加一个像这个答案一样的新 SDK 但是
Android SDK
不是一个选项,如下图所示。
Note: I had installed Android Studio a few years ago and it was working but uninstalled it again.注意:我几年前安装了 Android Studio,它可以工作,但又卸载了。 I've tried to make sure everything was cleaned out before installing it again (ie deleted the AndroidStudioProjects folder that was left) however I'm not sure what else to look for.
我试图确保在再次安装之前清除所有内容(即删除了剩下的 AndroidStudioProjects 文件夹),但是我不确定还要寻找什么。
Also If there is another way I can test my ionic build (as opposed to downloading android studio) then I would be grateful if you could advise.另外,如果有另一种方法可以测试我的 ionic 构建(而不是下载 android studio),那么如果您能提供建议,我将不胜感激。 Thank for any help.
感谢您的帮助。
You have accidently disabled Android Support
plugin in your plugin list.您不小心禁用了插件列表中的
Android Support
插件。 Try enable it and restart Android Studio.尝试启用它并重新启动 Android Studio。
To be detailed: In your first picture, Configure
-> Plugins
, tick almost everything to enable (for me which is also using Android Studio 3.1.3, there are Android Support
, Android APK Support
, Firebase Services
, Google Developers Samples
, Firebase App Indexing
, Firebase Testing
, Test Recorder
, Google Services
, Google Cloud Tools For Android Studio
, Android NDK Support
, Android Games
and App Links Assistant
), then OK
to Restart
Android Studio.详细说明:在你的第一张图片中,
Configure
-> Plugins
,勾选几乎所有启用(对我来说也使用 Android Studio 3.1.3,有Android Support
, Android APK Support
, Firebase Services
, Google Developers Samples
, Firebase App Indexing
、 Firebase Testing
、 Test Recorder
、 Google Services
、 Google Cloud Tools For Android Studio
、 Android NDK Support
、 Android Games
和App Links Assistant
),然后OK
Restart
Android Studio。
Follow these steps after uninstalling previous version of Android studio:卸载旧版 Android Studio 后,请按照以下步骤操作:
Download SDK zip file from here --> developer.android.com从这里下载 SDK zip 文件 --> developer.android.com
Extract the zip file.解压缩 zip 文件。
Copy and paste that extracted folder into Applications/Android Studio/将提取的文件夹复制并粘贴到 Applications/Android Studio/
If SDK Manager is missing.如果缺少 SDK 管理器。 But SDK is installed.
但是安装了SDK。 then you need install Sdk manager command line.
那么你需要安装 Sdk 管理器命令行。
To open the SDK Manager from Android Studio, click Tools > SDK Manager or click SDK Manager in the toolbar.要从 Android Studio 打开 SDK 管理器,请单击工具 > SDK 管理器或单击工具栏中的 SDK 管理器。 If you're not using Android Studio, you can download tools using the sdkmanager command-line tool.
如果您没有使用 Android Studio,则可以使用sdkmanager 命令行工具下载工具。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.