How quickly restart adb.exe ADB server Android emulator example

Create file restartADB.bat in folder
c:\Program Files\Android\android-sdk-windows\platform-tools\
Write into restartADB.bat this code:

adb kill-server && adb start-server
pause

Save restartADB.bat file.
If you want restart adb.exe server, run restartADB.bat by double click on icon.

Next example:

  1. Open Total Commander
  2. Open folder with adb.exe usually in
    c:\Program Files\Android\android-sdk-windows\platform-tools\
  3. Put into command line command: adb kill-server && adb start-server and press Enter
adb-restart-server-android-emulator

ADB server restart by command line

Try restart ADB if this or similar errors:
Emulator] emulator: emulator window was out of view and was recentred

This entry was posted in Android Examples Code, Eclipse and tagged , , , . Bookmark the permalink.


Comments are closed.

23,770 views