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/8.1/com/android/build/api/dsl/AdbOptions) \n\n|------------------------------------------------------------------------------------|-----------------------------------------------------------|\n| [AdbOptions](/reference/tools/gradle-api/8.1/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| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | ~~[installOptions](/reference/tools/gradle-api/8.1/com/android/build/api/dsl/Installation#installOptions(kotlin.String))~~`(option: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` **This function is deprecated.** To be removed in AGP 9.0 |\n| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | ~~[installOptions](/reference/tools/gradle-api/8.1/com/android/build/api/dsl/Installation#installOptions(kotlin.Array))~~`(vararg options: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` **This function is deprecated.** To be removed in AGP 9.0 |\n\n| ### Public properties ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`\u003c`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`\u003e` | [installOptions](/reference/tools/gradle-api/8.1/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/8.1/com/android/build/api/dsl/Installation#timeOutInMs()) The time out used for all adb operations. |\n\nPublic functions\n----------------\n\n### installOptions\n\n```\nfun [installOptions](/reference/tools/gradle-api/8.1/com/android/build/api/dsl/Installation#installOptions(kotlin.String))(option: String): Unit\n```\n| **This function is deprecated.** \n| To be removed in AGP 9.0\n\nSets the list of FULL_APK installation options \n\n### installOptions\n\n```\nfun [installOptions](/reference/tools/gradle-api/8.1/com/android/build/api/dsl/Installation#installOptions(kotlin.Array))(vararg options: String): Unit\n```\n| **This function is deprecated.** \n| To be removed in AGP 9.0\n\nSets the list of FULL_APK installation options\n\nPublic properties\n-----------------\n\n### installOptions\n\n```\nval installOptions: MutableList\u003cString\u003e\n```\n\nThe list of FULL_APK installation options. \n\n### timeOutInMs\n\n```\nvar timeOutInMs: Int\n```\n\nThe time out used for all adb operations."]]