adb.exe start server failed-run manually if neccessary

两盒软妹~` 提交于 2020-01-04 01:56:08

问题


When I started running my app in Android, I got a message saying that "adb.exe start server failed-run manually if neccessary".

I tried many commands shown on Stack Overflow in the command prompt, but the problem is not rectified. This is the error I get,

I even reinstalled Android Studio, but in vain. And my adb.exe is not found in the Task Manager.
How can I solve this problem?


回答1:


first close android studio then press alt + ctrl + delete to open task manager then search for adb.exe, click that then press end task. this is the solution that i got from googling,but it didn't work for me.

Then i tried this one, search for java in task manager. end task java(services) also. then open android studio.it will work




回答2:


If you are using a genymotion emulator to run the app then to solve this problem first run android studio and then start genymotion.




回答3:


You can see all the status using cmd. Most of the time adb's home directory ais also available in own PC home director. Such as

C:\User\USER_NAME

What you have to do is first check the availability of adb. Just type and enter adb service OR adb in your cmd

Then you can see adb version, where it's installed and global option and much more info. If those info doesn't appear you should install Android Studio correctly.

Then you can kill the adb server and start the adb serveer

1.to kill--->> adb kill-server

2.to start-->> adb start-server

All done




回答4:


just need to exit Android Studio and once again run it as administrator :D




回答5:


I haven't seen any solution as mine but I think this is similar to the answer above. As for me, this will happen then my Android Studio won't show any devices, at all. I have "search everything" software on my PC and that when I try to search adb.exe I see a lot of app crash folders. It adds a new one everytime I try to run my android program.

So I go to task manager and found multiple adb runs (as much as how many times I tried to run my program). I closed each and every one of them. Then, I will try to run my program again and adb will run and show my devices.

Runs everytime. No restart, reinstall, run, or re-download needed.



来源:https://stackoverflow.com/questions/39695823/adb-exe-start-server-failed-run-manually-if-neccessary

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!