How to build app compliant with Google Play 64-bit requirement?

前端 未结 10 1453
情话喂你
情话喂你 2020-12-01 10:46

After I upload the APK to play store I got the following warning. What changes should I make to release an APK build with flutter SDK to meet the 64-bit requirement?

10条回答
  •  离开以前
    2020-12-01 11:10

    Guys they changed new policies for 64-bit architectures. So please put this code in your gradle

    ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
    

    for e.g.

    android {
        compileSdkVersion 28
        defaultConfig {
            applicationId "com.test.test"
            minSdkVersion 15
            targetSdkVersion 28
            versionCode 1
            versionName "1.0"
            ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
            testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        }
    }
    

提交回复
热议问题