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 the install-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
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