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?
If you are using a genymotion emulator to run the app then to solve this problem first run android studio and then start genymotion.
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
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
just need to exit Android Studio and once again run it as administrator :D
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.