简体   繁体   English

如何在 Windows 上安装 Android SDK

[英]How to install Android SDK on windows

I have recently installed Android Studio.我最近安装了 Android Studio。 In the initialization of the app, it said "Android SDK is missing" so I proceeded to download the command line only version from https://developer.android.com/studio .在应用程序的初始化中,它说“缺少 Android SDK”,所以我继续从https://developer.android.com/studio下载仅限命令行的版本。

I tried running the android.bat file but it did not open, I am using JDK 12.0.1 and I have also tried adding java\\bin to the PATH but it still doesn't work.我尝试运行 android.bat 文件但它没有打开,我使用的是 JDK 12.0.1,我也尝试将java\\bin添加到 PATH 但它仍然不起作用。 It simply opens a cmd window and then closes it.它只是打开一个 cmd 窗口然后关闭它。

You can find the command line tools at the downloads page under the "Command line tools only" section.您可以在 下载页面的“仅限命令行工具”部分下找到命令行工具。

The installer version for windows doesn't seem to be available any longer, this is the link for version 24.4.1: Windows 的安装程序版本似乎不再可用,这是 24.4.1 版的链接:

Windows installer: [ https://dl.google.com/android/installer_r24.4.1-windows.exe] Windows 安装程序:[ https://dl.google.com/android/installer_r24.4.1-windows.exe]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM