Android Debug Bridge
Brings ADB functionality to Visual Studio Code.
Table of Contents
Install extension from here or from Visual Studio Code marketplace.
To use adb, you must enable USB debugging in the device system settings, under Developer options.
To prepare your device, refer this official ADB instructions
ctrl + shift + p for Windows/Linux,
command + shift + p on MacOs and type adb to see all available commands.
ADB: Show devices
Shows all available devices to debugging an Android app. Devices might connected via usb or wireless.
Connects Android device that selected between available devices.
ADB: Fast connect
Connects default Android device directly if set before, otherwise shows device options to select a default device.
Setting a static ip from device wi-fi settings is recommended before setting default device. This command will not work if you used the “usb” command or restarted the device. No need to connect device via usb to fast connect.
Set Default Device
ADB: Set up a device to connect fast next time
Changes default device to fast connect.
ADB: Restart server
Kills and starts the adb server. This will cause termination on any running debug process.
ADB: Restart server in usb mode
Restarts adb server in usb mode for all tcpip devices.
Set Default Port
ADB: Set default port
The default port is 5555, it sets the default port for new connections. The change takes effect on the next connection.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag “enhancement”.
Don’t forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature)
- Commit your Changes (
git commit -m 'Add some AmazingFeature')
- Push to the Branch (
git push origin feature/AmazingFeature)
- Open a Pull Request
Ertuğrul Yakın – [email protected]
Distributed under the MIT License.