简体   繁体   中英

adb error in android studio

I've tried every proposed solution on the internet and nothing is working. Android studio was working fine then one day out of nowhere it kept giving me this error on every project

unable to locate adb

I tried navigating to my adb.exe and kill-sever and restart it but the adb.exe directory is not in my platform-tools folder under sdk.

I've tried uninstalling android studio and reinstalling it. A post suggested that it could be my AVG security but that was not the issue. I've tried updating the platform-tools and it freezes here

在此处输入图片说明

Close android studio.
open a command window. 
type adb devices
no devices? 
trouble shoot connection and drivers and device developer option
see a device?
   type adb shell
   type ls -l
   type su
su not found? download or activate your superuser app
no problems with any step?
 open android studio and try again with it's terminal emulator

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM