0.22.4 ā€¢ Published 9 months ago

adb-interface-vscode v0.22.4

Weekly downloads
11
License
-
Repository
github
Last release
9 months ago

šŸ”Œ ADB Interface for VSCode

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

[Maintainability Rating](https://sonarcloud.io/dashboard?id=vinicioslc_adb-interface-vscode) [Lines of Code](https://sonarcloud.io/dashboard?id=vinicioslc_adb-interface-vscode) [Bugs](https://sonarcloud.io/dashboard?id=vinicioslc_adb-interface-vscode) [Security Rating](https://sonarcloud.io/dashboard?id=vinicioslc_adb-interface-vscode)

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

Chinese Guide [ē®€ä½“äø­ę–‡ęŒ‡å—](https://www.jianshu.com/p/fb8eebc8a2c0)

You can help with [Code](https://github.com/vinicioslc/adb-interface-vscode/issues) or with [Energy](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TKRZ7F4FV4QY4&source=url) everthing are welcome ;)

āš ļø 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.

0.22.4

9 months ago

0.16.111

4 years ago

0.16.11

4 years ago