Android Studio:无法获取“adb 版本"的结果 [英] Android Studio: Unable to obtain result of 'adb version'

查看:57
本文介绍了Android Studio:无法获取“adb 版本"的结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 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 目录错误.在 File>Project Structure 中确保 SDK 的目录正确;我的是 C:\Users\[user]\AppData\Local\Android\sdk(谷歌出于某种原因给了 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 版本"的结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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