如何解决无法在Android Studio中找到adb(IllegalArgumentException)? [英] How to solve unable to locate adb(IllegalArgumentException) in android studio?

查看:174
本文介绍了如何解决无法在Android Studio中找到adb(IllegalArgumentException)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从2.2更新到2.3后,我无法使用android studio运行我的项目。当我尝试运行我的项目时,我总是会收到类似无法找到adb的错误。



请向我推荐一个适当的解决方案。我尝试了很多方法,但无法解决。

解决方案

我正在使用Avast,发现adb.exe位于病毒箱中,我只是将其还原为排除项,现在效果很好。不要让Android Studio过时,谢谢



2)从病毒箱中恢复adb&还要在排除项下添加android-studio文件夹,以避免将来出现此问题


I am not able to run my project using android studio after an update from 2.2 to 2.3. I always getting an error like "unable to locate adb" while i try to run my project.

Shoot me a proper solution to fix this. I tried many ways but i couldn't solve this.

解决方案

I was using Avast and found out that the adb.exe was in the virus chest and i simply restored it as an exclusion, now it worked perfectly. Don't keep the Android Studio outdated, Thanks Avast Virus Chest


Couple of updates to this working solution

1) Virus Chest Image

2) Restore adb from the virus chest & also add android-studio folder under exclusions to avoid the issue in future

这篇关于如何解决无法在Android Studio中找到adb(IllegalArgumentException)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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