Stay organized with collections Save and categorize content based on your preferences.

JniLibsApkPackaging

interface JniLibsApkPackaging : JniLibsPackaging
com.android.build.api.variant.JniLibsApkPackaging

Defines an APK variant's packaging options for native library (.so) files.

Summary

Properties

abstract Provider<Boolean>

Whether to use the legacy convention of compressing all .

abstract Provider<Boolean>

Whether to use the legacy convention of compressing all .

Inherited properties

Properties

useLegacyPackaging

abstract val useLegacyPackaging: Provider<Boolean>

Whether to use the legacy convention of compressing all .so files in the APK. This does not affect APKs generated from the app bundle; see useLegacyPackagingFromBundle.

useLegacyPackagingFromBundle

abstract val useLegacyPackagingFromBundle: Provider<Boolean>

Whether to use the legacy convention of compressing all .so files when generating APKs from the app bundle. If true, .so files will always be compressed when generating APKs from the app bundle, regardless of the API level of the target device. If false, .so files will be compressed only when targeting devices with API level < M.