Android Studio Platform-Tools缺少adb.exe [英] android studio platform-tools missing adb.exe
问题描述
今天,我在启动Android Stodio时单击了一些更新.我忘了是什么.然后,当出现错误时我运行一些代码 晚上8:34 IllegalArgumentException:无法找到adb"
Today, I clicked some update when I launch Android Stodio. I forgot what it is. Then, I run some code when there is a error "8:34 PM IllegalArgumentException: Unable to locate adb"
然后,我在Google上搜索了几个小时,仍然无法解决我的问题.而且我发现我的platform-tools文件夹下没有"adb.exe".
Then, I google for few hours and still cannot solve my problem. And I found that there is no "adb.exe" under my platform-tools folder.
有人可以帮忙吗?
我的操作系统是Window 10. 我尝试卸载Android Studio并重新安装.这没有帮助.
my os is Window 10. I have tried uninstall Android Studio and install it back. It doesn't help.
重新安装平台工具后,我取回adb.exe.但是,我再次运行程序,执行了"ADB初始化",我的adb.exe文件再次丢失. >
Edit 1: After I re-install the platform-tools, I get back the adb.exe.But, I run my program again, it does the "ADB initialization", my adb.exe file lose again.
推荐答案
问题已解决.我遇到的问题是我将SDK平台工具升级到25.0.6.但是我的SDK Build-Tools是25.0.3. (尚未提供25.0.6)我猜版本不匹配,这会导致此问题.
The problem is solved. The issue I have is I upgraded the SDK platform-tools to 25.0.6. But My SDK Build-Tools is 25.0.3. (25.0.6 is not yet provided) I guess the version did not match which cause this problem.
我将我的SDK平台工具降级到25.0.3,并且它照常工作.
I downgrade my SDK platform-tools to 25.0.3 and it is working as usual.
这篇关于Android Studio Platform-Tools缺少adb.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!