For new android kotlin DSL you have to use this
android {
------
------
defaultConfig {
------
------
ndk {
abiFilters.add("armeabi-v7a")
abiFilters.add("x86_64")
abiFilters.add("arm64-v8a")
}
}
}