Skip to content

jawa0919/adb-helper

Repository files navigation

adb-helper

Marketplace Version Installs Rating GitHub issues

Introduction

【English】|【中文】

Help execute 'ADB' common commands. Device management, ip/pairconnection, device screenshot, application management, file management.

Home

Function

AdbController

  • restartAdb: restart ADB
  • refreshDeviceManager:refresh Device/APK
  • ipConnect:input ip Connect devices.
  • ipConnectHistory:Displays the history of using ip connect
  • pairDevicesScanner:Scanner pair connect
  • pairDevicesUsingQRCode:Use QR Code pair connect
  • pairDevicesUsingCode:Use Code pair connect
  • installToDevice:Install the APK file in the workspace to the device
  • chooseApkFilter:Select APK type, -3:third-party(default), -s:system, -e:enabled, -d:disabled

AdbController

DeviceController

  • screenshot: Device Screenshot
  • installApk: install apk to device
  • openShell: open Shell window openShell
  • inputText: input text to device
  • showDeviceInfo:
  • startScrcpy: start Scrcpy https://github.com/Genymobile/scrcpy
  • rebootDevice:
  • powerOffDevice:
  • useIpConnect: Connect using IP
  • showLogCat:

DeviceController

ApkController

  • wipeApkData:
  • wipeApkPermissions:
  • uninstallApk:
  • exportApk:
  • stopApk:
  • copyApkId:
  • showLogCatFilter:

ApkController

ExplorerController

  • refreshExplorerManager
  • chooseDevice
  • chooseRootPath

FileController

In the file management system, the open file is a copy of the local image of the device file.

In the /data/data/ directory, the directory cannot be obtained due to lack of permission. The related file directory is simulated.

  • openFile
  • openInTheSide
  • openInLocalExplorer
  • newFolder
  • copyPath
  • rename
  • delete
  • uploadFile
  • uploadFolder
  • saveAs

FileController

daemon

When 'flutter' is not found, you need click refreshDeviceManager to update the device list.

  • flutter daemon: Monitor device connection / disconnection. Auto refresh list

Configure

  • explorerRootPathList: Quick access list, the first item in the default list is displayed

    [
        "/sdcard/",
        "/",
        "/data/data/",
        "/sdcard/Android/data/",
        "/sdcard/DCIM/",
        "/sdcard/Download/",
    ],
  • adbBinPath:adb Bin Path,eg: E:\sdk\androidSDK\platform-tools

  • androidSdkPath:Android SDK Path,eg: E:\sdk\androidSDK

  • flutterSdkPath:Flutter SDK Path,eg: E:\sdk\flutter339

  • scrcpyBinPath:Scrcpy 的 Bin Path,eg: C:\Users\admin\AppData\Roaming\Genymobile\scrcpy

    If you have configured relevant environment variables, the relevant configuration can be ignored

About

https://github.com/Genymobile/scrcpy

Last

You are welcome to put forward your ideas and feedback issues

About

VSCode extension,adb common helper

Resources

License

Stars

Watchers

Forks

Packages

No packages published