Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unable to build for android x64 (Unity 2018.4.6f1)

Discussion in 'Editor & General Support' started by JanusAnderson, Aug 19, 2019.

  1. JanusAnderson

    JanusAnderson

    Joined:
    Apr 30, 2013
    Posts:
    27
    I have a live game in production on multiple platforms but cannot seem to get a working x64 build for Android no matter what I try.

    I have selected IL2CPP, the ARM64 target architecture, and am building with android app bundle on Unity 2018.4.6 LTS. I am also using android-ndk-r16b. The build completes with no errors but when I try to upload the resulting .aab file to google I get the 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: 259."

    What am I missing here?

     
  2. JanusAnderson

    JanusAnderson

    Joined:
    Apr 30, 2013
    Posts:
    27
    To add to this, it looks like if I build with the x86 option turned off, Google Play will accept it but warns that "Deactivation of (the old) APK will result in your app being available for new installs on fewer types of devices.".
     
  3. kimmo1

    kimmo1

    Joined:
    Feb 7, 2014
    Posts:
    49
    i have same problem.
     
  4. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,875
    Just deselect x86, there's less than 0.4% of Android devices using x86, so there's no real impact

    x86 is deprecated in 2019.2, and then removed in 2019.3