Skip to content

vinicioslc/adb-interface-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”Œ ADB Interface for VSCode

Build Status Visual Studio Marketplace Version GitHub Visual Studio Marketplace Installs Visual Studio Marketplace Rating (Stars)

Maintainability Rating Lines of Code Bugs Security Rating

This simple ADB wrapper try to makes easy connect to android devices over wifi, without console use, and do other things.

Chinese Guide ็ฎ€ไฝ“ไธญๆ–‡ๆŒ‡ๅ—

You can help with Code or with Energy everthing are welcome ;)

Buy Me a Coffee at ko-fi.com

โš ๏ธ ONLY TESTED IN WINDOWS (For while, you need have ADB Interface installed in your system)

status bar

Attach ADB to an Device via WIFI

  1. First connect your device trough USB
  2. Run ADB:๐Ÿ“ฑ Disconnect from any devices
  3. And run ADB:๐Ÿ“ฑ Reset connected devices port to :5555
  4. And Then ADB:๐Ÿ“ฑ Connect to device IP enter your device (settings > status > ip address) IP address and be fine

status bar

Installing APK files throught ADB

  1. Pick apk file with command ADB:๐Ÿ“ฑ Pick .APK file and install
  2. Allow ADB install on device screen
  3. Wait until copy de file and icon appear
  4. Now you can run the APP

Table of contents

Commands Available

  • ADB:๐Ÿ“ฑ Reset connected devices port to :5555 (Open current device port with (equivalent adb tcpip 5555))
  • ADB:๐Ÿ“ฑ Connect to device IP (Need type the IP from device (equivalent adb connect ${your ip}:5555))
  • ADB:๐Ÿ“ฑ Disconnect from any devices (Disconnect ever device attached (equivalent adb disconnect))
  • ADB:๐Ÿ“ฑ Connect to device from List (Show an list from devices attached to connect (equivalent adb devices))
  • ADB:๐Ÿ“ฑ Pick .APK file and install (Install on current active device (Will prompt user on Android Screen))
  • ADB:๐Ÿ“ฑ Setup custom ADB location (Configure location of ADB)
  • ADB:๐Ÿ“ฑ Remove custom ADB location (Clear custom ADB location)
  • ADB:๐Ÿ”ฅ Enable Firebase events debug mode (Run firebase events in debug mode)
  • ADB:๐Ÿ”ฅ Disable Firebase events debug mode (Run firebase events in debug mode)
  • ADB:โš ๏ธ Kill ADB server (Kill ADB Server runing (equivalent adb kill-server))

How it works

ADB location resolution

By default the extension is looking for ADB in the following locations:

  • Linux - $HOME/Android/Sdk
  • MacOS - $HOME/Library/Android/sdk/platform-tools
  • Windows - %USERPROFILE%\AppData\Local\Android\Sdk\platform-tools (if the %USERPROFILE% environment variable is not defined the path to the profile directory of the current user will be used as the starting point)

The extension will resolve the ADB location each time an ADB command is executed.

The ADB location can be customized using the Setup custom ADB location command. The custom ADB location can be cleared using the Remove custom ADB location command.

Tests

All done with Jest you can read more about here.

We need help to incrase test coverage report, if you can learn, send a pull request !

How to run tests:

โžฅ npm run test

You can also use the project alias that watch file changes while developing:

โžฅ npm run test:watch

Commits

All commits are done runing the command npm run cm to ensure some rules used during CHANGELOG.md generation with npm run release-it

โžฅ npm run cm

Type your commit info like type, scope, short.

โžฅ npm run release

Confirm information to create new release and update CHAGELOG.md

Now we can run npm publish to publish new version.