问题描述
我正在尝试使用Android Studio开始在Android应用程序上进行开发,但是每当我尝试运行该应用程序时,都会出现错误无法获得 adb版本的结果
我曾尝试在不同的计算机(均运行Windows 10)上多次卸载并重新安装Android Studio,并且每次遇到相同的错误时都尝试过。我已经研究了该问题,但无法找到一致的解决方案。 (或实际可行的方法)我对Android开发非常陌生,对执行操作有些茫然;任何解决这个问题的帮助将不胜感激。
I am trying to start development on an Android app using Android Studio, but whenever I try to run the app I get the error Unable to obtain result of 'adb version'
I have tried uninstalling and reinstalling Android Studio multiple times on different computers (both running Windows 10) and every time I get the same error. I have researched the problem and have been unable to find a consistent solution. (or one that actually works) I am very new to Android development and am slightly at a loss as to what to do; any help on solving this problem would be much appreciated.
推荐答案
感谢@ user3109468,找到了解决方案,Android Studio的Android SDK目录错误。在文件>项目结构中,确保SDK的目录正确;我的是 C:\Users\ [user] \AppData\Local\Android\sdk
(Google出于某些原因给sdk大写 S ...)
Found the solution thanks to @user3109468, Android Studio had the directory for the Android SDK wrong. In File>Project Structure make sure the directory for the SDK is correct; mine was C:\Users\[user]\AppData\Local\Android\sdk
(Google had given sdk a capital "S" for some reason...)
这篇关于Android Studio:无法获得“ adb版本”的结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!