Skip to content

Instantly share code, notes, and snippets.

@mapic91
Created July 15, 2015 09:35
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save mapic91/b1b6775aa9fd8de9b287 to your computer and use it in GitHub Desktop.
Save mapic91/b1b6775aa9fd8de9b287 to your computer and use it in GitHub Desktop.
adb kill-server
adb connect 127.0.0.1:53001
@codeachange
Copy link

use adb connect 192.168.56.101 on MAC
and cordova emulate android --target=192.168.56.101:5555 to specify emulator target

@AbandonedCart
Copy link

@ohfang that is a proprietary IP. It's the IP of the emulator, so it varies by the system.
It also requires using cordova, which is a third-party tool and not part of ADB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment