I have exported an Android App Bundle file to upload at Play store with NDK downloaded from Unity desired location because Android Studio NDK file is not compatible with Unity.
I got this kind of error message when I upload the build:
Here you have SDK and NDK path setup:
Now, what is the solution for this?
What step I did wrong that I can't able to understand?
Please don't mention about the duplicate question because I have tried other options they didn't work for me.
For the unaware, Android currently supports both 32-bit and 64-bit applications. Due to this, developers have to maintain two binaries for their apps and ARM has to offer CPUs that feature legacy 32-bit support.
APK is ZIP. You can open it and check directory lib to see which architectures are supported. If there is no directory lib , it supports all architectures. 64-bit Android is backwards compatible and can run 32-bit applications.
That's despite the fact that the Armv8 ISA introduced the AArch64 execution mode back in 2011, Android 5.0 Lollipop introduced platform-level support for 64-bit apps in 2014, and Google Play mandated that apps support 64-bit CPUs in 2019.
As mentioned earlier, Android 5.0 Lollipop was the first fully 64-bit compatible version of Android, launched in 2014. Three years after presenting it, Google vocalized its demand for support of the 64-bit processor in 2017.
For future reference:
It's an issue with google play and x86 build that do not offers a 64bit counterpart code. Disabling x86 build fix this issue.
Reference: https://forum.unity.com/threads/successful-unity-aab-build-not-compliant-with-the-google-play-64-bit-requirement.729035/
The problem started on 08/20/2019.
Make sure Edit > Project Settings > Player > Configuration > Scripting Backend is set to IL2CPP and Target Architectures > ARM64 is ticked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With