Godot/Android - Target API level requirements & compliant with the Google Play 64-bit requirement

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By sliks

I managed to create an apk and tried to upload it to Google Play Console, but I got two errors. I am using Godot 3.0.6

First 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: 1.
From August 1, 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.

Second Error:
Target API level requirements from August 2019
Your app currently targets API level 27 and must target at least API level 28 to ensure it is built on the latest APIs optimized for security and performance.
From August 2019, new apps must target at least Android 9.0 (API level 28).
From November 2019, app updates must target Android 9.0 (API level 28).

Any suggestions?

The second error is fixed by updating godot to V3.1.1

The first error is still happening:

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.

Please help

sliks | 2019-07-13 15:50

:bust_in_silhouette: Reply From: sliks

I managed to figure it out.

For the first error, there is a checkbox in the export window. You will need to check Arm 64 -v 8a

For the second error, updating godot v3.1.1 fix it.

If you need to stay with 3.0 for some reason, wait for 3.0.7, that will come with the fix on android templates.

eons | 2019-07-14 00:07