I'm adding dynamic feature to my application.
In dynamic module I have dependency with external library, which supports only arm abis.
My app supports arm and x86 abis. Additionally I have a few of native code in app module. I'm using cmake for it. Part of my app gradle file:
externalNativeBuild {
cmake {
path "CMakeLists.txt"
}
}
When I try to build my bundle
./gradlew bundleDebug
I'm getting error
Execution failed for task ':app:packageDebugBundle'. 1 exception was raised by workers: com.android.tools.build.bundletool.exceptions.ValidationException: All modules with native libraries must support the same set of ABIs, but module 'dynamic_module' supports '[ARM64_V8A, ARMEABI_V7A]' and module 'base' supports '[ARM64_V8A, ARMEABI_V7A, X86, X86_64]'.
Can I add my dynamic module only for arm processors by any entry in gradle? Or if not, any idea what I should to do?