Hello Developer, Hope you guys are doing great. Today at Tutorial Guruji Official website, we are sharing the answer of Could not find method abiFilters() for arguments [x86] without wasting too much if your time.
The question is published on by Tutorial Guruji team.
The question is published on by Tutorial Guruji team.
build.gradle(Module):
externalNativeBuild { cmake { path "CMakeLists.txt" abiFilters 'x86' } } sourceSets { main { jni.srcDirs = ['src/main/jniLibs/'] } }
Could not find method abiFilters() for arguments [x86] on object of type com.android.build.gradle.internal.dsl.CmakeOptions.
How fix that?
Answer
You could try this:
android { externalNativeBuild { cmake { path "CMakeLists.txt" } } defaultConfig { externalNativeBuild { cmake { abiFilters "x86" } } } }
We are here to answer your question about Could not find method abiFilters() for arguments [x86] - If you find the proper solution, please don't forgot to share this with your team members.