简体   繁体   English

Adb 在终端中完美运行,但在 android studio 中它只显示初始化 adb

[英]Adb working perfectly in terminal but in android studio it only shows initialzing adb

After I re installed my os my adb isnt working, i tried through terminal it works but not in android studio.重新安装我的操作系统后,我的 adb 无法正常工作,我尝试通过终端运行但在 android studio 中不起作用。 when i run an application it only shows initialzing adb.当我运行一个应用程序时,它只显示正在初始化 adb。 th

When you run ADB from the command line, it starts an adb-server.当您从命令行运行ADB ,它会启动一个 adb-server。 If you start this from an admin account, and open Android Studio without admin permissions, then it cannot kill the existing ADB server.如果您从管理员帐户启动它,并在没有管理员权限的情况下打开 Android Studio,那么它无法杀死现有的 ADB 服务器。

So to answer: Make sure you kill the existing ADB server from the command line, and then open up Android Studio.所以回答:确保从命令行终止现有的 ADB 服务器,然后打开 Android Studio。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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