简体   繁体   中英

Could not get unknown property 'armeabi' for object of type com.android.build.gradle.internal.dsl.NdkOptions

        externalNativeBuild {
            cmake {
                cppFlags ""
            }
        }
        vectorDrawables.useSupportLibrary = true

        ndk {
            abiFilters 'armeabi-v7a', 'x86', 'x86_64', 'arm64-v8a' 'armeabi'
        }
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            signingConfig signingConfigs.config
        }
        debug {
            signingConfig signingConfigs.config
        }
    }
    externalNativeBuild {
        cmake {
           path "CMakeLists.txt"
        }
   }
}

i want abiFilters support 'armeabi-v7a', 'x86', 'x86_64', 'arm64-v8a' 'armeabi' 。 But armeabi is always not recognized.

if only support " 'armeabi-v7a', 'x86', 'x86_64', 'arm64-v8a' " is OK; if only support armeabi is OK;

But not all support;

You should use an older version of NDK if you desperately need armeabi . But I doubt that you really need it, the devices with ARM chips that don't support armeabi-v7a have not been produced since 2012.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM