NdkOptions

DSL object for per-variant NDK settings, such as the ABI filter.

Properties

PropertyDescription
abiFilters

ABI configurations of your native libraries Gradle should build and package with your APK. You can list any subset of the ABIs the NDK supports.

Methods

No methods

Script blocks

No script blocks

Property details

Set<String> abiFilters

ABI configurations of your native libraries Gradle should build and package with your APK. You can list any subset of the ABIs the NDK supports.

For example:

abiFilters 'x86', 'x86_64', 'armeabi'

When this flag is not configured, Gradle builds and packages all available ABIs.