GeneratesApk

interface GeneratesApk

ApplicationVariant

Properties for the main Variant of an application.

DynamicFeatureVariant
GeneratesTestApk
AndroidTest

Properties for the android test Variant of a module.

TestVariant

Variant for test-only modules.


Cross cutting interface for Component subtypes that are producing APK files.

Summary

Public properties

AndroidResources

Variant's android resources processing configuration, initialized by the corresponding global DSL element.

Provider<String>

Variant's application ID as present in the final manifest file of the APK.

ApkPackaging

Variant's packagingOptions, initialized by the corresponding global DSL element.

Renderscript?

Variant specific settings for the renderscript compiler.

Public properties

androidResources

val androidResourcesAndroidResources

Variant's android resources processing configuration, initialized by the corresponding global DSL element.

applicationId

val applicationIdProvider<String>

Variant's application ID as present in the final manifest file of the APK.

packaging

val packagingApkPackaging

Variant's packagingOptions, initialized by the corresponding global DSL element.

renderscript

val renderscriptRenderscript?

Variant specific settings for the renderscript compiler. This will return null when com.android.build.api.dsl.BuildFeatures.renderScript is false.

Learn to modify database tables using data access objects (DAOs), a part of the Room Library

Updated Jan 3, 2024

Explore the Android platform. Learn about the latest releases and technologies for creating Android apps.

Updated Dec 21, 2024

Migrate from direct use of SQLite to Room

Updated Jan 3, 2024