I created my project with the command from the guide:
vue init nativescript-vue/vue-cli-template <project-name>
and I build release APKs with the following command:
tns build android --bundle --release --key-store-path ./my_key.jsk --key-store-password *** --key-store-alias key1 --key-store-alias-password ***
But when I upload the APKs to Google Play Console, I get this error:
This release is not compliant with the Google Play 64-bit requirement
With a link to this page: https://developer.android.com/distribute/best-practices/develop/64-bit.
How can I build release APKs compatible with the new requirements?
Others say I'm supposed to add ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
to my Gradle script. Is that what I should do? And where exactly?
armeabi-v7a
andarm64-v8a
are common 64-bit architectures that satisfy the 64-bit requirement. Per the linked issue in GitHub, I still had issues when including thex86
andx86_64
which I explained are uncommon and not needed for all apps depending on the level of support. – Cuttlefish