Unity Export Android 64-bit

AndroidUnity3dGoogle Play-Console

Android Problem Overview


I've been trying to upload .abb to the google play console. When I upload it, it gives me this error:

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: 2.

From 1. August 2019 all releases must be compliant with the Google Play 64-bit requirement.

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 it needs. This avoids increasing the overall size of your app.

I tried to export an 64-bit version but I couldnt do it.

Android Solutions


Solution 1 - Android

Unity supports x64 since 2017 LTS. To enable it you can go to File > Build Settings > Player Settings.

There under "Other Settings" you have to change your Script Backend to IL2CPP, and you will have the ARM64 checkbox active. Check it.

ARM64

And then you can either select to generate Split APKs by Target Architecture Split APKs

or in your Build Settings dialog choose to Build App Bundle (Google Play). Build App Bundle

Hope it helps, you will need to have the Android NDK for this.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionDevster LpView Question on Stackoverflow
Solution 1 - AndroiddanaeView Answer on Stackoverflow