本文介绍了Android studio-“缺少SDK工具目录"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我启动 Android Studio 时,它会显示一个标题为下载组件"的窗口.其中说:Android SDK 安装到:C:/Users/user/AppData/Local/android/SDK2 SDK 工具目录丢失"我无法修复它,我需要帮助!

When I start Android Studio, it displays a window entitled "Downloading components" which says: "Android SDK was installed to: C: / Users / user / AppData / Local / android / SDK2   SDK tools directory is missing "I can not fix it and I need help!!

推荐答案

我在寻找 uiautomatorviewer.bat 时发现了同样的问题.安装 Android studio 3.6.2(在 Win10 上)后,我在 SDK Manager 中寻找 Android SDK Tools 部分.目前,此部分被隐藏为已过时.修复:取消选中 Hide Obsolete Packages,然后检查提到的包并安装它 - C:Users..AppDataLocalAndroidSdkoolsin 已创建.

The same problem observed on my side while looking for uiautomatorviewer.bat.After installing Android studio 3.6.2 (at Win10) I was looking for Android SDK Tools section at SDK Manager. Currently, this section is Hidden as Obsolete.Fix: uncheck Hide Obsolete Packages, then check the mentioned package and install it - C:Users..AppDataLocalAndroidSdkoolsin is created.

这篇关于Android studio-“缺少SDK工具目录"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 08:12