Struct android_tools::bundletool::InstallApks [−][src]
pub struct InstallApks { /* fields omitted */ }Expand description
Deploy APKs to a connected device
After you generate a set of APKs, bundletool can deploy the right combination of APKs from that set to a connected device.
For example, if you have a connected device running Android 5.0 (API level 21)
or higher, bundletool pushes the base APK, feature module APKs, and configuration
APKs required to run your app on that device. Alternatively, if your connected device
is running Android 4.4 (API level 20) or lower, bundletool looks for a compatible
multi-APK and deploys it to your device.
To deploy your app from an APK set, use theinstall-apks command and specify the path
of the APK set using the --apks=/path/to/apks flag, as shown below. (If you have
multiple devices connected, specify a target device by adding the
--device-id=serial-id flag.)
Implementations
Specifies path to set of apks to install it on your device or emulator
If you’re using the --local-testing flag with the build-apks command, for
local testing to work correctly, you need to use install-apks to install
your APKs
If you have multiple devices connected, specify a target device by adding the
--device-id=serial-id flag
Trait Implementations
Returns the “default value” for a type. Read more
