'This APK will not be served to any users because it is completely shadowed by one or more APKs with higher version codes

[][1]

{ android { compileSdkVersion 31 buildToolsVersion "30.0.3" defaultConfig { applicationId "com.example.test" minSdkVersion 19 targetSdkVersion 30 versionCode 64 if (taggedRelease == null) { versionName "1.4.1-SNAPSHOT" } else { versionName = taggedRelease } testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" multiDexEnabled true } signingConfigs { release } flavorDimensions "abi"

productFlavors {
    x64 {
        dimension "abi"
        versionCode 30000 + android.defaultConfig.versionCode
        versionNameSuffix "-x86_64"
        ndk {
            abiFilters "x86_64","armeabi","arm64-v8a", "armeabi-v7a", "x86"
        }
    }
    arm {
        dimension "abi"
        versionCode 10000 + android.defaultConfig.versionCode
        versionNameSuffix "-arm"
        ndk {
            abiFilters "armeabi-v7a","armeabi","arm64-v8a", "armeabi-v7a", "x86"
        }
    }
    arm64 {
        dimension "abi"
        versionCode 20000 + android.defaultConfig.versionCode
        versionNameSuffix "-arm64"
        ndk {
            abiFilters "arm64-v8a","armeabi","arm64-v8a", "armeabi-v7a", "x86"
        }
    }
}

} any one can you please help me to resolve this error [1]: https://i.stack.imgur.com/hwYbM.png



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source