@rnx-kit/tools-android

0.1.0 • Public • Published

@rnx-kit/tools-android

Build npm version

@rnx-kit/tools-android is a collection of functions for deploying apps on Android.

Usage:

import * as tools from "@rnx-kit/tools-android";
Category Function Description
- getBuildToolsPath() Returns the path to Android SDK Build-Tools.
- getDevices() Returns a list of attached physical Android devices.
- getEmulators() Returns a list of available Android virtual devices.
- getPackageName(apk) Returns the package name and the first launchable activity of the specified APK.
- install(device, apk, packageName) Installs the specified APK on specified emulator or physical device.
- launchEmulator(emulatorName) Launches the emulator with the specified name.
- selectDevice(emulatorName, logger) Returns the emulator or physical device with the specified name.
- start(__namedParameters, packageName, activityName) Starts the specified activity on specified emulator or physical device.

Readme

Keywords

none

Package Sidebar

Install

npm i @rnx-kit/tools-android

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

18.6 kB

Total Files

5

Last publish

Collaborators

  • kelset
  • hansenyy
  • jasonvmorse
  • acoates
  • rnbot
  • tido64
  • rnsdkbot