Search Unity

Building Android Application Bundle including 64 bit still has a warning from Google

Discussion in 'Editor & General Support' started by marsoups, Aug 29, 2019.

  1. marsoups

    marsoups

    Joined:
    Jan 7, 2013
    Posts:
    11
    We have built our product up with all 3 architectures to the Android Application Bundle (AAB) and we are still getting a warning from Google about 64 bit builds not being included, when we clearly built for that. See screenshot.

    64bitrequirement.PNG

    Before we upgraded to Unity 2019.2.0r, we didn't have this warning. Also I must note that building a straight APK with 64 bit builds successfully, but when it is pushed to a device, it crashes out almost instantly. It may have something to do with one of the Firebase libraries which we are using. I'm posting this here in case this is a Unity issue and to check whether anyone else is experiencing a similar problem?

    Thanks!
     
  2. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
    Check if the libraries actually there. (By using Android Studio -> Build -> Analyze APK (you can open it via an empty project)).
    Its possible that something is excluded via gradle file (sometimes happens when resolving via Play Services Resolver and using mono).

    If it is present - google also expects x86_64 architecture if you're submitting x86. (Which is really nasty, because Unity fails to build it even with ABI present in the gradle file).

    Simplest solution is not to build x86 at all. It is unfortunate, but you can't do anything about it.

    Google is nowadays as a jerk as Apple.