Hi all. I decided to compile the project on androyd in UE 5.1, but when compiling, I noticed that the engine collects only for x64. And I wanted to test the project on my phone, which only supports arm64-v8a. Is it possible to implement it? Will the project work on all old phones if I build it as *.aab?
Yes, it is possible to compile for the ARM64-v8a architecture. To do this, you will need to set the appropriate target architecture in the Unreal Engine editor and make sure that you have the necessary tools and SDKs installed on your development machine. To set the target architecture in Unreal Engine, go to Edit → Project Settings → Platforms → Android and select the Architecture option. From there, you can choose the ARM64 architecture as the target.
After setting the target architecture, you can compile the project as an Android App Bundle (AAB) package, which is the recommended distribution format for Android apps. The AAB package will contain the compiled code and resources for all supported architectures, including ARM64. This means that the project will work on all older phones that support the ARM64 architecture.
.AAB files are .APK files but in bundles, so they can be opened on older phones as well when installed through the Google Play Store.
Assembled the project, two *.apk files appeared (AFS_Game-Android-Shipping-arm64.apk and Game-Android-Shipping-arm64.apk) I don’t understand what the first file is, which has a size of 1-3 megabytes? And when installing * .apk on the phone, it says “Failed to process the package”
The 1-3 MB is not something you can install on your phone. Usually the size is much larger than that if it’s running on a device. AFS is a implementation protocol for ads as far as I can see here: Mise en œuvre d'AFS pour les applications mobiles pour Android | AdSense Custom Search Ads for Android | Google Developers