Cant run adb process

817 views Asked by At

I'm creating an application in android studio but I am um able test it on the virtual emulator because the adb process won't start. It's giving this error.

enter image description here I tried manually starting adb and all other things but this happens.

enter image description here I tried reinstalling android studio and platform tools. I downloaded a separate adb and ran "adb start-server"/"kill server".

It just doesn't seem to work. So i constantly have to build the entire thing and generate apk to run it. Please help me guys!!! Also regarding the virtual emulator i have intel haxm installed if that information was necessary.

3

There are 3 answers

0
Htoo Aung Hlaing On

If your are using Genymotion,try to link your Android Studio 's SDK to Genymotion Android SDK Path.Then try to type with adb devices, I hope this will help for you. enter image description here

1
Mahesh On

It's may be because your emulator adb not allow the android studio to run on it and android studio try to stop and re-run but this process fail.

Me also the same problem. So i always follows this step and it's work for me.
1. Open android studio.
2. Try to run your app without opening your emulator(It will start your adb).
3. Then open your emulator and run your app.
It's working for me. May solve your problem.

1
Rilwan On

adb server didnt ack. This issue will resolve ussually when you kill all instances of adb.exe and restart server again. Open Task manager and kill all adb instances and start server again.

Try the following:

  • Close Studio.
  • End adb.exe process in taskmanager.
  • Issue kill and
  • Run adb kill-server
  • Run adb devices
  • Then start the emulator and try adb devices again. This should list your emulator-device.
  • Run you apk in studio.