I tried building my game according to the google play rules, but I get the following error message: "This release is not compliant with the Google Play 64-bit requirement
The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 1.
Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code that it needs. This avoids increasing the overall size of your app."
According to the documentation (https://developer.android.com/distribute/best-practices/develop/64-bit) for Unity I should get a working version when I do:
- Set Scripting Backend to IL2CPP
- Select the **Target Architecture > ARM64 checkbox
- Build as normal
I've built the game both as APK and as AAB, but neither are accepted. I am using Unity 2018.3.14f1.
I have downloaded this NDK: https://dl.google.com/android/repository/android-ndk-r16b-windows-x86_64.zip and put the content to: C:\Users\MyName\AppData\Local\Android