Android Debug Bridge
Brings ADB functionality to Visual Studio Code.
Table of Contents
- Getting Started
- Usage
- Contributing
- License
Getting Started
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
Usage
Press ctrl + shift + p
for Windows/Linux, command + shift + p
on MacOs and type adb to see all available commands.
Show Devices
ADB: Show devices
Shows all available devices to debugging an Android app. Devices might connected via usb or wireless.
Connect
ADB: Connect
Connects Android device that selected between available devices.
(back to top)
Fast Connect
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.
Restart Server
ADB: Restart server
Kills and starts the adb server. This will cause termination on any running debug process.
(back to top)
Usb Mode
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.
(back to top)
Contributing
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!
Repository
- 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 - ertgrulll@outlook.com
License
Distributed under the MIT License.
(back to top)