Stay organized with collections
Save and categorize content based on your preferences.
Installation
interface Installation
Known direct subclasses
AdbOptions |
This interface is deprecated. Renamed to Installation
|
Options for the adb tool.
Summary
Public functions |
@Incubating Unit |
Sets the list of FULL_APK installation options
|
@Incubating Unit |
Sets the list of FULL_APK installation options
|
Public properties |
Collection<String>? |
The list of FULL_APK installation options.
|
Int |
The time out used for all adb operations.
|
Public functions
Public properties
timeOutInMs
val timeOutInMs: Int
The time out used for all adb operations.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Installation\n============\n\n\n```\ninterface Installation\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[AdbOptions](/reference/tools/gradle-api/7.2/com/android/build/api/dsl/AdbOptions) \n\n|------------------------------------------------------------------------------------|-----------------------------------------------------------|\n| [AdbOptions](/reference/tools/gradle-api/7.2/com/android/build/api/dsl/AdbOptions) | **This interface is deprecated.** Renamed to Installation |\n\n*** ** * ** ***\n\nOptions for the adb tool.\n\nSummary\n-------\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [installOptions](/reference/tools/gradle-api/7.2/com/android/build/api/dsl/Installation#installOptions(kotlin.String))`(option: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?)` Sets the list of FULL_APK installation options |\n| `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [installOptions](/reference/tools/gradle-api/7.2/com/android/build/api/dsl/Installation#installOptions(kotlin.Array))`(vararg options: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?)` Sets the list of FULL_APK installation options |\n\n| ### Public properties ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Collection](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-collection/index.html)`\u003c`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`\u003e?` | [installOptions](/reference/tools/gradle-api/7.2/com/android/build/api/dsl/Installation#installOptions()) The list of FULL_APK installation options. |\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [timeOutInMs](/reference/tools/gradle-api/7.2/com/android/build/api/dsl/Installation#timeOutInMs()) The time out used for all adb operations. |\n\nPublic functions\n----------------\n\n### installOptions\n\n```\n@Incubating\nfun installOptions(option: String?): Unit\n```\n\nSets the list of FULL_APK installation options \n\n### installOptions\n\n```\n@Incubating\nfun installOptions(vararg options: String?): Unit\n```\n\nSets the list of FULL_APK installation options\n\nPublic properties\n-----------------\n\n### installOptions\n\n```\nval installOptions: Collection\u003cString\u003e?\n```\n\nThe list of FULL_APK installation options. \n\n### timeOutInMs\n\n```\nval timeOutInMs: Int\n```\n\nThe time out used for all adb operations."]]