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

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 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.