Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unity Export Android 64-bit

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.

like image 386
Devster Lp Avatar asked May 03 '19 17:05

Devster Lp


People also ask

How do I change my Android Unity from 32-bit to 64-bit?

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.

How do I enable ARM64 in Unity?

Select the library in Unity and set the following attributes in the Inspector: Under Select platforms for plugin, select Android. Under Platform settings, set the CPU architecture to ARM64 for 64-bit applications, or ARMv7 for 32-bit applications.

Is Unity 32-bit or 64-bit?

Today we are announcing that Unity 5.6 will be the last release to ship with 32-bit builds of the editor for Windows.

How to build a 64-bit Android app in Unity?

Now, you can build a 64-Bit Android package of your application. During the build process, Unity will ask you for the path to the Android NDK. You will have to navigate to the folder you extracted the Android NDK package and select it.

Does unity support x86 Android?

Limited x86 Android devices were introduced to the market which has resulted in minimal adoption of Unity’s x86 Android support. Android x86 support will be deprecated in 2019.2 and removed entirely in Unity 2019.3. Support for Android x86 will continue in Unity 2018 and 2018 LTS for the remainder of their life cycle.

How to build a 64-bit Android application in Visual Studio Code?

In the Build Settings window, click on the button Player Settings. In the Inspector, expand the tab Other Settings on the panel Player Settings. Set Scripting Backend to IL2CPP. This will allow you to select the ARM64 architecture in the Target Architectures section. Now, you can build a 64-Bit Android package of your application.

Is your Android app 64-bit compliant?

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.


1 Answers

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.

like image 168
danae Avatar answered Oct 17 '22 16:10

danae