Essentials
Gemini in Android Studio
Your AI development companion for Android development.
Learn more
Get Android Studio
Get started
Start by creating your first app. Go deeper with our training courses or explore app development on your own.
Hello world
Training courses
Tutorials
Kotlin for Android
Monetization with Play ↗️
Extend by device
Build apps that give your users seamless experiences from phones to tablets, watches, and more.
Adaptive apps
Wear OS
Android for Cars
Android TV
ChromeOS
Assistant
Build by category
Learn to build for your use case by following Google's prescriptive and opinionated guidance.
Games
Camera & Media
Social & messaging
Health & Fitness
Productivity
Enterprise apps
Get the latest
Stay in touch with the latest releases throughout the year, join our preview programs, and give us your feedback.
Latest updates
Experimental updates
Android Studio preview
Jetpack & Compose libraries
Wear OS preview
Privacy Sandbox
Design & Plan
UI Design
Design a beautiful user interface using Android best practices.
Design for Android
Mobile
Large screens (e.g., tablets)
Widgets
Wear OS
Android TV
Architecture
Design robust, testable, and maintainable app logic and services.
Introduction
Libraries
Navigation
Modularization
Testing
Quality
Plan for app quality and align with Play store guidelines.
Overview
Core value
User experience
Technical quality
Security
Security
Safeguard users against threats and ensure a secure Android experience.
Overview
Privacy
Identity
Fraud prevention
Build for Billions
Create the best experience for entry-level devices
Overview
About new markets
Android (Go edition)
Develop
Build AI experiences
Build AI-powered Android apps with Gemini APIs and more.
Get started
Core areas
Get the samples and docs for the features you need.
Samples
Try Quick Guidesᵇᵉᵗᵃ
User interfaces
Permissions
Background work
Data and files
All core areas ⤵️
Tools and workflow
Use the IDE to write and build your app, or create your own pipeline.
Write and debug code
Build projects
Test your app
Performance
Command-line tools
Gradle plugin API
Device tech
Write code for form factors. Connect devices and share data.
Large screens (e.g., tablets)
Wear OS
Android Health
Cross-device SDK
Android for Cars
Android TV
ChromeOS
Libraries
Browse API reference documentation with all the details.
Android platform
Jetpack libraries
Compose libraries
Google Play services ↗️
Google Play SDK index ↗️
Google Play
Community
/
English
Deutsch
Español
Español – América Latina
Français
Indonesia
Português – Brasil
Tiếng Việt
Türkçe
Русский
ภาษาไทย
中文 – 简体
中文 – 繁體
日本語
한국어
Android Studio
Develop
Guides
Reference
Samples
Essentials
More
Design & Plan
More
Develop
More
Guides
Reference
Samples
Google Play
Community
Android Studio
Android API Reference
Overview
Android Gradle Plugin
Releases
Current Release
Android Gradle Plugin 8.7
Class Index
Package Index
com.android.build.api
Overview
Classes
AndroidPluginVersion
com.android.build.api.artifact
Overview
Interfaces
Artifact.Appendable
Artifact.ContainsMany
Artifact.Replaceable
Artifact.Transformable
ArtifactTransformationRequest
Artifacts
CombiningOperationRequest
InAndOutDirectoryOperationRequest
InAndOutFileOperationRequest
MultipleArtifactTypeOutOperationRequest
OutOperationRequest
TaskBasedOperation
Classes
Artifact
Artifact.Multiple
Artifact.Single
ArtifactKind
MultipleArtifact
ScopedArtifact
SingleArtifact
Enums
Artifact.Category
Objects
ArtifactKind.DIRECTORY
ArtifactKind.FILE
MultipleArtifact.MULTIDEX_KEEP_PROGUARD
MultipleArtifact.NATIVE_DEBUG_METADATA
MultipleArtifact.NATIVE_SYMBOL_TABLES
ScopedArtifact.CLASSES
ScopedArtifact.JAVA_RES
SingleArtifact.AAR
SingleArtifact.APK
SingleArtifact.APK_FROM_BUNDLE
SingleArtifact.ASSETS
SingleArtifact.BUNDLE
SingleArtifact.MERGED_MANIFEST
SingleArtifact.MERGED_NATIVE_LIBS
SingleArtifact.METADATA_LIBRARY_DEPENDENCIES_REPORT
SingleArtifact.OBFUSCATION_MAPPING_FILE
SingleArtifact.PUBLIC_ANDROID_RESOURCES_LIST
SingleArtifact.RUNTIME_SYMBOL_LIST
com.android.build.api.attributes
Overview
Interfaces
AgpVersionAttr
BuildTypeAttr
ProductFlavorAttr
com.android.build.api.component
Overview
Interfaces
UnitTest
com.android.build.api.dsl
Overview
Interfaces
AaptOptions
AarMetadata
AbiSplit
AdbOptions
AiPackExtension
AndroidResources
AndroidSourceDirectorySet
AndroidSourceFile
AndroidSourceSet
AndroidTest
AnnotationProcessorOptions
ApkExtension
ApkSigningConfig
ApplicationAndroidResources
ApplicationBaseFlavor
ApplicationBuildFeatures
ApplicationBuildType
ApplicationDefaultConfig
ApplicationExtension
ApplicationInstallation
ApplicationProductFlavor
ApplicationPublishing
ApplicationSingleVariant
ApplicationVariantDimension
AssetPackBundleExtension
AssetPackExtension
BaseFlavor
BaselineProfile
BuildFeatures
BuildType
Bundle
BundleAbi
BundleAiModelVersion
BundleCodeTransparency
BundleCountrySet
BundleDensity
BundleDeviceTier
BundleLanguage
BundleStoreArchive
BundleTexture
Cmake
CmakeFlags
CommonExtension
CompileOptions
ComposeOptions
ConfigurableFiles
ConsumerKeepRules
DataBinding
DefaultConfig
DensitySplit
DependenciesInfo
DependencyVariantSelection
Device
DeviceGroup
DexPackaging
DynamicDelivery
DynamicFeatureAndroidResources
DynamicFeatureBaseFlavor
DynamicFeatureBuildFeatures
DynamicFeatureBuildType
DynamicFeatureDefaultConfig
DynamicFeatureExtension
DynamicFeatureInstallation
DynamicFeatureProductFlavor
DynamicFeatureVariantDimension
EmulatorControl
EmulatorSnapshots
Execution
ExecutionProfile
ExternalNativeBuild
ExternalNativeBuildFlags
FailureRetention
HasConfigurableValue
HasInitWith
Installation
JacocoOptions
JavaCompileOptions
JniLibsPackaging
KeepRules
KmpOptimization
KotlinMultiplatformAndroidCompilation
KotlinMultiplatformAndroidCompilationBuilder
KotlinMultiplatformAndroidExtension
KotlinMultiplatformAndroidTarget
KotlinMultiplatformAndroidTestOnDevice
KotlinMultiplatformAndroidTestOnDeviceCompilation
KotlinMultiplatformAndroidTestOnJvm
KotlinMultiplatformAndroidTestOnJvmCompilation
LibraryAndroidResources
LibraryBaseFlavor
LibraryBuildFeatures
LibraryBuildType
LibraryDefaultConfig
LibraryExtension
LibraryInstallation
LibraryKeepRules
LibraryProductFlavor
LibraryPublishing
LibrarySingleVariant
LibraryVariantDimension
Lint
LintOptions
ManagedDevices
ManagedVirtualDevice
ModelDependency
MultiDexConfig
MultipleVariants
Ndk
NdkBuild
NdkBuildFlags
Optimization
Packaging
PostProcessing
Prefab
PrivacySandbox
PrivacySandboxKeepRules
PrivacySandboxSdkBundle
PrivacySandboxSdkExtension
PrivacySandboxSdkOptimization
ProductFlavor
Publishing
PublishingOptions
ResourcesPackaging
SdkComponents
SettingsExtension
Shaders
SigningConfig
SingleVariant
Split
Splits
TestAndroidResources
TestBaseFlavor
TestBuildFeatures
TestBuildType
TestCoverage
TestDefaultConfig
TestExtension
TestFixtures
TestInstallation
TestOptions
TestProductFlavor
TestVariantDimension
TestedExtension
ToolOptions
UnitTestOptions
VariantDimension
VcsInfo
VectorDrawables
ViewBinding
com.android.build.api.instrumentation
Overview
Interfaces
AsmClassVisitorFactory
ClassContext
ClassData
InstrumentationContext
InstrumentationParameters
Classes
InstrumentationParameters.None
Enums
FramesComputationMode
InstrumentationScope
com.android.build.api.transform
Overview
Interfaces
Context
DirectoryInput
JarInput
QualifiedContent
QualifiedContent.ContentType
QualifiedContent.ScopeType
SecondaryInput
TransformInput
TransformInvocation
TransformOutputProvider
Classes
SecondaryFile
Transform
Enums
Format
QualifiedContent.DefaultContentType
QualifiedContent.Scope
Status
Exceptions
TransformException
com.android.build.api.variant
Overview
Interfaces
AarMetadata
Aidl
AndroidComponents
AndroidComponentsExtension
AndroidResources
AndroidResourcesBuilder
AndroidTest
AndroidTestBuilder
AndroidVersion
AnnotationProcessor
ApkPackaging
ApplicationAndroidComponentsExtension
ApplicationAndroidResources
ApplicationAndroidResourcesBuilder
ApplicationVariant
ApplicationVariantBuilder
BuiltArtifact
BuiltArtifacts
BuiltArtifacts.TransformParams
BuiltArtifactsLoader
BundleConfig
CanMinifyAndroidResources
CanMinifyAndroidResourcesBuilder
CanMinifyCode
CanMinifyCodeBuilder
CodeTransparency
Component
ComponentBuilder
ComponentIdentity
DependenciesInfo
DependenciesInfoBuilder
DeviceTest
DeviceTestBuilder
DexPackagingOptions
Dexing
DslLifecycle
DynamicFeatureAndroidComponentsExtension
DynamicFeatureVariant
DynamicFeatureVariantBuilder
ExternalNativeBuild
ExternalNdkBuild
FilterConfiguration
GeneratesAar
GeneratesApk
GeneratesApkBuilder
GeneratesTestApk
HasAndroidResources
HasAndroidTest
HasAndroidTestBuilder
HasDeviceTests
HasDeviceTestsBuilder
HasHostTests
HasHostTestsBuilder
HasTestFixtures
HasTestFixturesBuilder
HasUnitTest
HasUnitTestBuilder
HostTest
HostTestBuilder
Instrumentation
JavaCompilation
JniLibsApkPackaging
JniLibsPackaging
JniLibsTestedApkPackaging
JniLibsTestedComponentPackaging
KotlinMultiplatformAndroidComponentsExtension
KotlinMultiplatformAndroidVariant
LibraryAndroidComponentsExtension
LibraryVariant
LibraryVariantBuilder
LifecycleTasks
LintLifecycleExtension
ManifestFiles
Packaging
Renderscript
ResValue.Key
ResourcesPackaging
ScopedArtifacts
ScopedArtifactsOperation
SigningConfig
SourceDirectories
SourceDirectories.Flat
SourceDirectories.Layered
Sources
TestAndroidComponentsExtension
TestComponent
TestFixtures
TestVariant
TestVariantBuilder
TestedApkPackaging
TestedComponentPackaging
UnitTest
Variant
VariantBuilder
VariantExtension
VariantExtensionConfig
VariantFilter
VariantInfo
VariantOutput
VariantOutputConfiguration
VariantSelector
Classes
BuildConfigField
DslExtension
DslExtension.Builder
ResValue
Enums
FilterConfiguration.FilterType
ScopedArtifacts.Scope
VariantOutputConfiguration.OutputType
Exceptions
PropertyAccessNotAllowedException
com.android.build.gradle
Overview
Classes
AiPackPlugin
AppPlugin
AssetPackBundlePlugin
AssetPackPlugin
BasePlugin
DynamicFeaturePlugin
LibraryPlugin
LintPlugin
SettingsPlugin
TestPlugin
com.android.build.gradle.api
Overview
Classes
AndroidBasePlugin
KotlinMultiplatformAndroidPlugin
PrivacySandboxSdkPlugin
Preview Releases
Android Gradle Plugin 8.8 (beta)
Class Index
Package Index
com.android.build.api
Overview
Classes
AndroidPluginVersion
com.android.build.api.annotations
Overview
Annotations
ReplacedByIncubating
com.android.build.api.artifact
Overview
Interfaces
Artifact.Appendable
Artifact.ContainsMany
Artifact.Replaceable
Artifact.Transformable
ArtifactTransformationRequest
Artifacts
CombiningOperationRequest
InAndOutDirectoryOperationRequest
InAndOutFileOperationRequest
MultipleArtifactTypeOutOperationRequest
OutOperationRequest
TaskBasedOperation
Classes
Artifact
Artifact.Multiple
Artifact.Single
ArtifactKind
MultipleArtifact
ScopedArtifact
SingleArtifact
Enums
Artifact.Category
Objects
ArtifactKind.DIRECTORY
ArtifactKind.FILE
MultipleArtifact.MULTIDEX_KEEP_PROGUARD
MultipleArtifact.NATIVE_DEBUG_METADATA
MultipleArtifact.NATIVE_SYMBOL_TABLES
ScopedArtifact.CLASSES
ScopedArtifact.JAVA_RES
SingleArtifact.AAR
SingleArtifact.APK
SingleArtifact.APK_FROM_BUNDLE
SingleArtifact.ASSETS
SingleArtifact.BUNDLE
SingleArtifact.MERGED_MANIFEST
SingleArtifact.MERGED_NATIVE_LIBS
SingleArtifact.METADATA_LIBRARY_DEPENDENCIES_REPORT
SingleArtifact.OBFUSCATION_MAPPING_FILE
SingleArtifact.PUBLIC_ANDROID_RESOURCES_LIST
SingleArtifact.RUNTIME_SYMBOL_LIST
com.android.build.api.attributes
Overview
Interfaces
AgpVersionAttr
BuildTypeAttr
ProductFlavorAttr
com.android.build.api.component
Overview
Interfaces
UnitTest
com.android.build.api.dsl
Overview
Interfaces
AaptOptions
AarMetadata
AbiSplit
AdbOptions
AiPackExtension
AndroidResources
AndroidSourceDirectorySet
AndroidSourceFile
AndroidSourceSet
AndroidTest
AnnotationProcessorOptions
ApkExtension
ApkSigningConfig
ApplicationAndroidResources
ApplicationBaseFlavor
ApplicationBuildFeatures
ApplicationBuildType
ApplicationDefaultConfig
ApplicationExtension
ApplicationInstallation
ApplicationProductFlavor
ApplicationPublishing
ApplicationSingleVariant
ApplicationVariantDimension
AssetPackBundleExtension
AssetPackExtension
BaseFlavor
BaselineProfile
BuildFeatures
BuildType
Bundle
BundleAbi
BundleAiModelVersion
BundleCodeTransparency
BundleCountrySet
BundleDensity
BundleDeviceTier
BundleLanguage
BundleStoreArchive
BundleTexture
Cmake
CmakeFlags
CommonExtension
CompileOptions
ComposeOptions
ConfigurableFiles
ConsumerKeepRules
DataBinding
DefaultConfig
DensitySplit
DependenciesInfo
DependencyVariantSelection
Device
DeviceGroup
DexPackaging
DynamicDelivery
DynamicFeatureAndroidResources
DynamicFeatureBaseFlavor
DynamicFeatureBuildFeatures
DynamicFeatureBuildType
DynamicFeatureDefaultConfig
DynamicFeatureExtension
DynamicFeatureInstallation
DynamicFeatureProductFlavor
DynamicFeatureVariantDimension
EmulatorControl
EmulatorSnapshots
Execution
ExecutionProfile
ExternalNativeBuild
ExternalNativeBuildFlags
FailureRetention
HasConfigurableValue
HasInitWith
Installation
JacocoOptions
JavaCompileOptions
JniLibsPackaging
KeepRules
KmpOptimization
KotlinMultiplatformAndroidCompilation
KotlinMultiplatformAndroidCompilationBuilder
KotlinMultiplatformAndroidDeviceTest
KotlinMultiplatformAndroidDeviceTestCompilation
KotlinMultiplatformAndroidHostTest
KotlinMultiplatformAndroidHostTestCompilation
KotlinMultiplatformAndroidLibraryExtension
KotlinMultiplatformAndroidLibraryTarget
KotlinMultiplatformAndroidTarget
KotlinMultiplatformAndroidTestOnDeviceCompilation
KotlinMultiplatformAndroidTestOnJvmCompilation
LibraryAndroidResources
LibraryBaseFlavor
LibraryBuildFeatures
LibraryBuildType
LibraryDefaultConfig
LibraryExtension
LibraryInstallation
LibraryKeepRules
LibraryProductFlavor
LibraryPublishing
LibrarySingleVariant
LibraryVariantDimension
Lint
LintOptions
ManagedDevices
ManagedVirtualDevice
ModelDependency
MultiDexConfig
MultipleVariants
Ndk
NdkBuild
NdkBuildFlags
Optimization
Packaging
PostProcessing
Prefab
PrivacySandbox
PrivacySandboxKeepRules
PrivacySandboxSdkBundle
PrivacySandboxSdkExtension
PrivacySandboxSdkOptimization
ProductFlavor
Publishing
PublishingOptions
ResourcesPackaging
SdkComponents
SettingsExtension
Shaders
SigningConfig
SingleVariant
Split
Splits
TestAndroidResources
TestBaseFlavor
TestBuildFeatures
TestBuildType
TestCoverage
TestDefaultConfig
TestExtension
TestFixtures
TestInstallation
TestOptions
TestProductFlavor
TestVariantDimension
TestedExtension
ToolOptions
UnitTestOptions
VariantDimension
VcsInfo
VectorDrawables
ViewBinding
com.android.build.api.instrumentation
Overview
Interfaces
AsmClassVisitorFactory
ClassContext
ClassData
InstrumentationContext
InstrumentationParameters
Classes
InstrumentationParameters.None
Enums
FramesComputationMode
InstrumentationScope
com.android.build.api.transform
Overview
Interfaces
Context
DirectoryInput
JarInput
QualifiedContent
QualifiedContent.ContentType
QualifiedContent.ScopeType
SecondaryInput
TransformInput
TransformInvocation
TransformOutputProvider
Classes
SecondaryFile
Transform
Enums
Format
QualifiedContent.DefaultContentType
QualifiedContent.Scope
Status
Exceptions
TransformException
com.android.build.api.variant
Overview
Interfaces
AarMetadata
Aidl
AndroidComponents
AndroidComponentsExtension
AndroidResources
AndroidResourcesBuilder
AndroidTest
AndroidTestBuilder
AndroidVersion
AnnotationProcessor
ApkInstallGroup
ApkOutput
ApkOutputProviders
ApkPackaging
ApplicationAndroidComponentsExtension
ApplicationAndroidResources
ApplicationAndroidResourcesBuilder
ApplicationVariant
ApplicationVariantBuilder
BuiltArtifact
BuiltArtifacts
BuiltArtifacts.TransformParams
BuiltArtifactsLoader
BundleConfig
CanMinifyAndroidResources
CanMinifyAndroidResourcesBuilder
CanMinifyCode
CanMinifyCodeBuilder
CodeTransparency
Component
ComponentBuilder
ComponentIdentity
DependenciesInfo
DependenciesInfoBuilder
DeviceTest
DeviceTestBuilder
DexPackagingOptions
Dexing
DslLifecycle
DynamicFeatureAndroidComponentsExtension
DynamicFeatureVariant
DynamicFeatureVariantBuilder
ExternalNativeBuild
ExternalNdkBuild
FilterConfiguration
GeneratesAar
GeneratesApk
GeneratesApkBuilder
GeneratesTestApk
GeneratesTestApkBuilder
HasAndroidResources
HasAndroidTest
HasAndroidTestBuilder
HasDeviceTests
HasDeviceTestsBuilder
HasHostTests
HasHostTestsBuilder
HasTestFixtures
HasTestFixturesBuilder
HasUnitTest
HasUnitTestBuilder
HostTest
HostTestBuilder
Instrumentation
JavaCompilation
JniLibsApkPackaging
JniLibsPackaging
JniLibsTestedApkPackaging
JniLibsTestedComponentPackaging
KotlinMultiplatformAndroidComponentsExtension
KotlinMultiplatformAndroidVariant
LibraryAndroidComponentsExtension
LibraryVariant
LibraryVariantBuilder
LifecycleTasks
LintLifecycleExtension
ManifestFiles
Packaging
Renderscript
ResValue.Key
ResourcesPackaging
ScopedArtifacts
ScopedArtifactsOperation
SigningConfig
SourceDirectories
SourceDirectories.Flat
SourceDirectories.Layered
Sources
TestAndroidComponentsExtension
TestComponent
TestFixtures
TestVariant
TestVariantBuilder
TestedApkPackaging
TestedComponentPackaging
UnitTest
Variant
VariantBuilder
VariantExtension
VariantExtensionConfig
VariantFilter
VariantInfo
VariantOutput
VariantOutputConfiguration
VariantSelector
Classes
BuildConfigField
DeviceSpec
DeviceSpec.Builder
DslExtension
DslExtension.Builder
ResValue
Enums
FilterConfiguration.FilterType
ScopedArtifacts.Scope
VariantOutputConfiguration.OutputType
Exceptions
PropertyAccessNotAllowedException
com.android.build.gradle
Overview
Classes
AiPackPlugin
AppPlugin
AssetPackBundlePlugin
AssetPackPlugin
BasePlugin
DynamicFeaturePlugin
LibraryPlugin
LintPlugin
SettingsPlugin
TestPlugin
com.android.build.gradle.api
Overview
Classes
AndroidBasePlugin
KotlinMultiplatformAndroidPlugin
PrivacySandboxSdkPlugin
Android Gradle Plugin 8.9 (alpha)
Class Index
Package Index
com.android.build.api
Overview
Classes
AndroidPluginVersion
com.android.build.api.annotations
Overview
Annotations
ReplacedByIncubating
com.android.build.api.artifact
Overview
Interfaces
Artifact.Appendable
Artifact.ContainsMany
Artifact.Replaceable
Artifact.Transformable
ArtifactTransformationRequest
Artifacts
CombiningOperationRequest
InAndOutDirectoryOperationRequest
InAndOutFileOperationRequest
MultipleArtifactTypeOutOperationRequest
OutOperationRequest
TaskBasedOperation
Classes
Artifact
Artifact.Multiple
Artifact.Single
ArtifactKind
MultipleArtifact
ScopedArtifact
SingleArtifact
Enums
Artifact.Category
Objects
ArtifactKind.DIRECTORY
ArtifactKind.FILE
MultipleArtifact.MULTIDEX_KEEP_PROGUARD
MultipleArtifact.NATIVE_DEBUG_METADATA
MultipleArtifact.NATIVE_SYMBOL_TABLES
ScopedArtifact.CLASSES
ScopedArtifact.JAVA_RES
SingleArtifact.AAR
SingleArtifact.APK
SingleArtifact.APK_FROM_BUNDLE
SingleArtifact.ASSETS
SingleArtifact.BUNDLE
SingleArtifact.MERGED_MANIFEST
SingleArtifact.MERGED_NATIVE_LIBS
SingleArtifact.METADATA_LIBRARY_DEPENDENCIES_REPORT
SingleArtifact.OBFUSCATION_MAPPING_FILE
SingleArtifact.PUBLIC_ANDROID_RESOURCES_LIST
SingleArtifact.RUNTIME_SYMBOL_LIST
com.android.build.api.attributes
Overview
Interfaces
AgpVersionAttr
BuildTypeAttr
ProductFlavorAttr
com.android.build.api.component
Overview
Interfaces
UnitTest
com.android.build.api.dsl
Overview
Interfaces
AaptOptions
AarMetadata
AbiSplit
AdbOptions
AiPackExtension
AndroidResources
AndroidSourceDirectorySet
AndroidSourceFile
AndroidSourceSet
AndroidTest
AnnotationProcessorOptions
ApkExtension
ApkSigningConfig
ApplicationAndroidResources
ApplicationBaseFlavor
ApplicationBuildFeatures
ApplicationBuildType
ApplicationDefaultConfig
ApplicationExtension
ApplicationInstallation
ApplicationProductFlavor
ApplicationPublishing
ApplicationSingleVariant
ApplicationVariantDimension
AssetPackBundleExtension
AssetPackExtension
BaseFlavor
BaselineProfile
BuildFeatures
BuildType
Bundle
BundleAbi
BundleAiModelVersion
BundleCodeTransparency
BundleCountrySet
BundleDensity
BundleDeviceTier
BundleLanguage
BundleStoreArchive
BundleTexture
Cmake
CmakeFlags
CommonExtension
CompileOptions
ComposeOptions
ConfigurableFiles
ConsumerKeepRules
DataBinding
DefaultConfig
DensitySplit
DependenciesInfo
DependencyVariantSelection
Device
DeviceGroup
DexPackaging
DynamicDelivery
DynamicFeatureAndroidResources
DynamicFeatureBaseFlavor
DynamicFeatureBuildFeatures
DynamicFeatureBuildType
DynamicFeatureDefaultConfig
DynamicFeatureExtension
DynamicFeatureInstallation
DynamicFeatureProductFlavor
DynamicFeatureVariantDimension
EmulatorControl
EmulatorSnapshots
Execution
ExecutionProfile
ExternalNativeBuild
ExternalNativeBuildFlags
FailureRetention
HasConfigurableValue
HasInitWith
Installation
JacocoOptions
JavaCompileOptions
JniLibsPackaging
KeepRules
KmpOptimization
KotlinMultiplatformAndroidCompilation
KotlinMultiplatformAndroidCompilationBuilder
KotlinMultiplatformAndroidDeviceTest
KotlinMultiplatformAndroidDeviceTestCompilation
KotlinMultiplatformAndroidHostTest
KotlinMultiplatformAndroidHostTestCompilation
KotlinMultiplatformAndroidLibraryExtension
KotlinMultiplatformAndroidLibraryTarget
KotlinMultiplatformAndroidTarget
KotlinMultiplatformAndroidTestOnDeviceCompilation
KotlinMultiplatformAndroidTestOnJvmCompilation
LibraryAndroidResources
LibraryBaseFlavor
LibraryBuildFeatures
LibraryBuildType
LibraryDefaultConfig
LibraryExtension
LibraryInstallation
LibraryKeepRules
LibraryProductFlavor
LibraryPublishing
LibrarySingleVariant
LibraryVariantDimension
Lint
LintOptions
ManagedDevices
ManagedVirtualDevice
ModelDependency
MultiDexConfig
MultipleVariants
Ndk
NdkBuild
NdkBuildFlags
Optimization
Packaging
PostProcessing
Prefab
PrivacySandbox
PrivacySandboxKeepRules
PrivacySandboxSdkBundle
PrivacySandboxSdkExtension
PrivacySandboxSdkOptimization
ProductFlavor
Publishing
PublishingOptions
ResourcesPackaging
SdkComponents
SettingsExtension
Shaders
SigningConfig
SingleVariant
Split
Splits
TestAndroidResources
TestBaseFlavor
TestBuildFeatures
TestBuildType
TestCoverage
TestDefaultConfig
TestExtension
TestFixtures
TestInstallation
TestOptions
TestProductFlavor
TestVariantDimension
TestedExtension
ToolOptions
UnitTestOptions
VariantDimension
VcsInfo
VectorDrawables
ViewBinding
com.android.build.api.instrumentation
Overview
Interfaces
AsmClassVisitorFactory
ClassContext
ClassData
InstrumentationContext
InstrumentationParameters
Classes
InstrumentationParameters.None
Enums
FramesComputationMode
InstrumentationScope
com.android.build.api.transform
Overview
Interfaces
Context
DirectoryInput
JarInput
QualifiedContent
QualifiedContent.ContentType
QualifiedContent.ScopeType
SecondaryInput
TransformInput
TransformInvocation
TransformOutputProvider
Classes
SecondaryFile
Transform
Enums
Format
QualifiedContent.DefaultContentType
QualifiedContent.Scope
Status
Exceptions
TransformException
com.android.build.api.variant
Overview
Interfaces
AarMetadata
Aidl
AndroidComponents
AndroidComponentsExtension
AndroidResources
AndroidResourcesBuilder
AndroidTest
AndroidTestBuilder
AndroidVersion
AnnotationProcessor
ApkInstallGroup
ApkOutput
ApkOutputProviders
ApkPackaging
ApplicationAndroidComponentsExtension
ApplicationAndroidResources
ApplicationAndroidResourcesBuilder
ApplicationVariant
ApplicationVariantBuilder
BuiltArtifact
BuiltArtifacts
BuiltArtifacts.TransformParams
BuiltArtifactsLoader
BundleConfig
CanMinifyAndroidResources
CanMinifyAndroidResourcesBuilder
CanMinifyCode
CanMinifyCodeBuilder
CodeTransparency
Component
ComponentBuilder
ComponentIdentity
DependenciesInfo
DependenciesInfoBuilder
DeviceTest
DeviceTestBuilder
DexPackagingOptions
Dexing
DslLifecycle
DynamicFeatureAndroidComponentsExtension
DynamicFeatureVariant
DynamicFeatureVariantBuilder
ExternalNativeBuild
ExternalNdkBuild
FilterConfiguration
GeneratesAar
GeneratesApk
GeneratesApkBuilder
GeneratesTestApk
GeneratesTestApkBuilder
HasAndroidResources
HasAndroidTest
HasAndroidTestBuilder
HasDeviceTests
HasDeviceTestsBuilder
HasHostTests
HasHostTestsBuilder
HasTestFixtures
HasTestFixturesBuilder
HasUnitTest
HasUnitTestBuilder
HostTest
HostTestBuilder
Instrumentation
JavaCompilation
JniLibsApkPackaging
JniLibsPackaging
JniLibsTestedApkPackaging
JniLibsTestedComponentPackaging
KotlinMultiplatformAndroidComponentsExtension
KotlinMultiplatformAndroidVariant
LibraryAndroidComponentsExtension
LibraryVariant
LibraryVariantBuilder
LifecycleTasks
LintLifecycleExtension
ManifestFiles
Packaging
Renderscript
ResValue.Key
ResourcesPackaging
ScopedArtifacts
ScopedArtifactsOperation
SigningConfig
SourceDirectories
SourceDirectories.Flat
SourceDirectories.Layered
Sources
TestAndroidComponentsExtension
TestComponent
TestFixtures
TestVariant
TestVariantBuilder
TestedApkPackaging
TestedComponentPackaging
UnitTest
Variant
VariantBuilder
VariantExtension
VariantExtensionConfig
VariantFilter
VariantInfo
VariantOutput
VariantOutputConfiguration
VariantSelector
Classes
BuildConfigField
DeviceSpec
DeviceSpec.Builder
DslExtension
DslExtension.Builder
ResValue
Enums
FilterConfiguration.FilterType
ScopedArtifacts.Scope
VariantOutputConfiguration.OutputType
Exceptions
PropertyAccessNotAllowedException
com.android.build.gradle
Overview
Classes
AiPackPlugin
AppPlugin
AssetPackBundlePlugin
AssetPackPlugin
BasePlugin
DynamicFeaturePlugin
LibraryPlugin
LintPlugin
SettingsPlugin
TestPlugin
com.android.build.gradle.api
Overview
Classes
AndroidBasePlugin
KotlinMultiplatformAndroidPlugin
PrivacySandboxSdkPlugin
Past Releases
Android Gradle Plugin 8.6
Class Index
Package Index
com.android.build.api
Overview
Classes
AndroidPluginVersion
com.android.build.api.artifact
Overview
Interfaces
Artifact.Appendable
Artifact.ContainsMany
Artifact.Replaceable
Artifact.Transformable
ArtifactTransformationRequest
Artifacts
CombiningOperationRequest
InAndOutDirectoryOperationRequest
InAndOutFileOperationRequest
MultipleArtifactTypeOutOperationRequest
OutOperationRequest
TaskBasedOperation
Classes
Artifact
Artifact.Multiple
Artifact.Single
ArtifactKind
MultipleArtifact
ScopedArtifact
SingleArtifact
Enums
Artifact.Category
Objects
ArtifactKind.DIRECTORY
ArtifactKind.FILE
MultipleArtifact.MULTIDEX_KEEP_PROGUARD
MultipleArtifact.NATIVE_DEBUG_METADATA
MultipleArtifact.NATIVE_SYMBOL_TABLES
ScopedArtifact.CLASSES
ScopedArtifact.JAVA_RES
SingleArtifact.AAR
SingleArtifact.APK
SingleArtifact.APK_FROM_BUNDLE
SingleArtifact.ASSETS
SingleArtifact.BUNDLE
SingleArtifact.MERGED_MANIFEST
SingleArtifact.MERGED_NATIVE_LIBS
SingleArtifact.METADATA_LIBRARY_DEPENDENCIES_REPORT
SingleArtifact.OBFUSCATION_MAPPING_FILE
SingleArtifact.PUBLIC_ANDROID_RESOURCES_LIST
SingleArtifact.RUNTIME_SYMBOL_LIST
com.android.build.api.attributes
Overview
Interfaces
AgpVersionAttr
BuildTypeAttr
ProductFlavorAttr
com.android.build.api.component
Overview
Interfaces
UnitTest
com.android.build.api.dsl
Overview
Interfaces
AaptOptions
AarMetadata
AbiSplit
AdbOptions
AndroidResources
AndroidSourceDirectorySet
AndroidSourceFile
AndroidSourceSet
AndroidTest
AnnotationProcessorOptions
ApkExtension
ApkSigningConfig
ApplicationAndroidResources
ApplicationBaseFlavor
ApplicationBuildFeatures
ApplicationBuildType
ApplicationDefaultConfig
ApplicationExtension
ApplicationInstallation
ApplicationProductFlavor
ApplicationPublishing
ApplicationSingleVariant
ApplicationVariantDimension
AssetPackBundleExtension
AssetPackExtension
BaseFlavor
BaselineProfile
BuildFeatures
BuildType
Bundle
BundleAbi
BundleCodeTransparency
BundleCountrySet
BundleDensity
BundleDeviceTier
BundleLanguage
BundleStoreArchive
BundleTexture
Cmake
CmakeFlags
CommonExtension
CompileOptions
ComposeOptions
ConfigurableFiles
ConsumerKeepRules
DataBinding
DefaultConfig
DensitySplit
DependenciesInfo
DependencyVariantSelection
Device
DeviceGroup
DexPackaging
DynamicDelivery
DynamicFeatureAndroidResources
DynamicFeatureBaseFlavor
DynamicFeatureBuildFeatures
DynamicFeatureBuildType
DynamicFeatureDefaultConfig
DynamicFeatureExtension
DynamicFeatureInstallation
DynamicFeatureProductFlavor
DynamicFeatureVariantDimension
EmulatorControl
EmulatorSnapshots
Execution
ExecutionProfile
ExternalNativeBuild
ExternalNativeBuildFlags
FailureRetention
HasConfigurableValue
HasInitWith
Installation
JacocoOptions
JavaCompileOptions
JniLibsPackaging
KeepRules
KmpOptimization
KotlinMultiplatformAndroidCompilation
KotlinMultiplatformAndroidCompilationBuilder
KotlinMultiplatformAndroidExtension
KotlinMultiplatformAndroidTarget
KotlinMultiplatformAndroidTestOnDevice
KotlinMultiplatformAndroidTestOnDeviceCompilation
KotlinMultiplatformAndroidTestOnJvm
KotlinMultiplatformAndroidTestOnJvmCompilation
LibraryAndroidResources
LibraryBaseFlavor
LibraryBuildFeatures
LibraryBuildType
LibraryDefaultConfig
LibraryExtension
LibraryInstallation
LibraryKeepRules
LibraryProductFlavor
LibraryPublishing
LibrarySingleVariant
LibraryVariantDimension
Lint
LintOptions
ManagedDevices
ManagedVirtualDevice
MultiDexConfig
MultipleVariants
Ndk
NdkBuild
NdkBuildFlags
Optimization
Packaging
PostProcessing
Prefab
PrivacySandbox
PrivacySandboxKeepRules
PrivacySandboxSdkBundle
PrivacySandboxSdkExtension
PrivacySandboxSdkOptimization
ProductFlavor
Publishing
PublishingOptions
ResourcesPackaging
SdkComponents
SettingsExtension
Shaders
SigningConfig
SingleVariant
Split
Splits
TestAndroidResources
TestBaseFlavor
TestBuildFeatures
TestBuildType
TestCoverage
TestDefaultConfig
TestExtension
TestFixtures
TestInstallation
TestOptions
TestProductFlavor
TestVariantDimension
TestedExtension
ToolOptions
UnitTestOptions
VariantDimension
VcsInfo
VectorDrawables
ViewBinding
com.android.build.api.instrumentation
Overview
Interfaces
AsmClassVisitorFactory
ClassContext
ClassData
InstrumentationContext
InstrumentationParameters
Classes
InstrumentationParameters.None
Enums
FramesComputationMode
InstrumentationScope
com.android.build.api.transform
Overview
Interfaces
Context
DirectoryInput
JarInput
QualifiedContent
QualifiedContent.ContentType
QualifiedContent.ScopeType
SecondaryInput
TransformInput
TransformInvocation
TransformOutputProvider
Classes
SecondaryFile
Transform
Enums
Format
QualifiedContent.DefaultContentType
QualifiedContent.Scope
Status
Exceptions
TransformException
com.android.build.api.variant
Overview
Interfaces
AarMetadata
Aidl
AndroidComponents
AndroidComponentsExtension
AndroidResources
AndroidResourcesBuilder
AndroidTest
AndroidTestBuilder
AndroidVersion
AnnotationProcessor
ApkPackaging
ApplicationAndroidComponentsExtension
ApplicationAndroidResources
ApplicationAndroidResourcesBuilder
ApplicationVariant
ApplicationVariantBuilder
BuiltArtifact
BuiltArtifacts
BuiltArtifacts.TransformParams
BuiltArtifactsLoader
BundleConfig
CanMinifyAndroidResources
CanMinifyAndroidResourcesBuilder
CanMinifyCode
CanMinifyCodeBuilder
CodeTransparency
Component
ComponentBuilder
ComponentIdentity
DependenciesInfo
DependenciesInfoBuilder
DeviceTest
DeviceTestBuilder
DexPackagingOptions
Dexing
DslLifecycle
DynamicFeatureAndroidComponentsExtension
DynamicFeatureVariant
DynamicFeatureVariantBuilder
ExternalNativeBuild
ExternalNdkBuild
FilterConfiguration
GeneratesAar
GeneratesApk
GeneratesApkBuilder
GeneratesTestApk
HasAndroidResources
HasAndroidTest
HasAndroidTestBuilder
HasDeviceTests
HasDeviceTestsBuilder
HasHostTests
HasHostTestsBuilder
HasTestFixtures
HasTestFixturesBuilder
HasUnitTest
HasUnitTestBuilder
HostTest
HostTestBuilder
Instrumentation
JavaCompilation
JniLibsApkPackaging
JniLibsPackaging
JniLibsTestedApkPackaging
JniLibsTestedComponentPackaging
KotlinMultiplatformAndroidComponentsExtension
KotlinMultiplatformAndroidVariant
LibraryAndroidComponentsExtension
LibraryVariant
LibraryVariantBuilder
LifecycleTasks
LintLifecycleExtension
ManifestFiles
Packaging
Renderscript
ResValue.Key
ResourcesPackaging
ScopedArtifacts
ScopedArtifactsOperation
SigningConfig
SourceDirectories
SourceDirectories.Flat
SourceDirectories.Layered
Sources
TestAndroidComponentsExtension
TestComponent
TestFixtures
TestVariant
TestVariantBuilder
TestedApkPackaging
TestedComponentPackaging
UnitTest
Variant
VariantBuilder
VariantExtension
VariantExtensionConfig
VariantFilter
VariantInfo
VariantOutput
VariantOutputConfiguration
VariantSelector
Classes
BuildConfigField
DslExtension
DslExtension.Builder
ResValue
Enums
FilterConfiguration.FilterType
ScopedArtifacts.Scope
VariantOutputConfiguration.OutputType
Exceptions
PropertyAccessNotAllowedException
com.android.build.gradle
Overview
Classes
AppPlugin
AssetPackBundlePlugin
AssetPackPlugin
BasePlugin
DynamicFeaturePlugin
LibraryPlugin
LintPlugin
SettingsPlugin
TestPlugin
com.android.build.gradle.api
Overview
Classes
AndroidBasePlugin
KotlinMultiplatformAndroidPlugin
PrivacySandboxSdkPlugin
Android Gradle Plugin 8.5
Class Index
Package Index
com.android.build.api
Overview
Classes
AndroidPluginVersion
com.android.build.api.artifact
Overview
Interfaces
Artifact.Appendable
Artifact.ContainsMany
Artifact.Replaceable
Artifact.Transformable
ArtifactTransformationRequest
Artifacts
CombiningOperationRequest
InAndOutDirectoryOperationRequest
InAndOutFileOperationRequest
MultipleArtifactTypeOutOperationRequest
OutOperationRequest
TaskBasedOperation
Classes
Artifact
Artifact.Multiple
Artifact.Single
ArtifactKind
MultipleArtifact
ScopedArtifact
SingleArtifact
Enums
Artifact.Category
Objects
ArtifactKind.DIRECTORY
ArtifactKind.FILE
MultipleArtifact.MULTIDEX_KEEP_PROGUARD
MultipleArtifact.NATIVE_DEBUG_METADATA
MultipleArtifact.NATIVE_SYMBOL_TABLES
ScopedArtifact.CLASSES
ScopedArtifact.JAVA_RES
SingleArtifact.AAR
SingleArtifact.APK
SingleArtifact.APK_FROM_BUNDLE
SingleArtifact.ASSETS
SingleArtifact.BUNDLE
SingleArtifact.MERGED_MANIFEST
SingleArtifact.MERGED_NATIVE_LIBS
SingleArtifact.METADATA_LIBRARY_DEPENDENCIES_REPORT
SingleArtifact.OBFUSCATION_MAPPING_FILE
SingleArtifact.PUBLIC_ANDROID_RESOURCES_LIST
SingleArtifact.RUNTIME_SYMBOL_LIST
com.android.build.api.attributes
Overview
Interfaces
AgpVersionAttr
BuildTypeAttr
ProductFlavorAttr
com.android.build.api.component
Overview
Interfaces
UnitTest
com.android.build.api.dsl
Overview
Interfaces
AaptOptions
AarMetadata
AbiSplit
AdbOptions
AndroidResources
AndroidSourceDirectorySet
AndroidSourceFile
AndroidSourceSet
AndroidTest
AnnotationProcessorOptions
ApkExtension
ApkSigningConfig
ApplicationAndroidResources
ApplicationBaseFlavor
ApplicationBuildFeatures
ApplicationBuildType
ApplicationDefaultConfig
ApplicationExtension
ApplicationInstallation
ApplicationProductFlavor
ApplicationPublishing