Configure adbkit requirements and environment
masterRequirements
- Node.js: version >= 0.10
- ADB Command Line Tool: The host machine must have the
adbbinary installed and available in$PATH, or the ADB server must already be running.
Note: adbkit is a client, not an implementation of the ADB server itself. If the initial connection fails, the library will attempt to start the server locally using the adb binary. If you are targeting a remote host, you are responsible for starting the server on that host.
Linux Setup
For Linux users, the adb tool requires access to the plugdev group. You may need to add your current user to this group:
sudo usermod -a -G plugdev $USER
Debugging
adbkit uses the debug library with the namespace adb. To view debug output, set the DEBUG environment variable:
DEBUG=adb:* node app.js