Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

APKs or App Bundles are available to 64-bit devices but they only have 32-bit native code

Discussion in 'Android' started by siddharth3322, Aug 19, 2019.

  1. siddharth3322

    siddharth3322

    Joined:
    Nov 29, 2013
    Posts:
    731
    I have exported an Android App Bundle file to upload at Play store with NDK downloaded from Unity desired location because Android Studio NDK file is not compatible with Unity.

    I got this kind of error message when I upload the build:

    play_store_error_aab.png

    Here you have SDK and NDK path setup:
    sdk_ndk_settings.PNG

    Now, what is the solution for this?
    What step I did wrong that I can't able to understand?
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    2,025
    Like mentioned in other threads, deselect x86 architecture in Player Settings
     
  3. AlexHell

    AlexHell

    Joined:
    Oct 2, 2014
    Posts:
    163
  4. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    2,025
    Android docs are not correct in this case
     
  5. Alexander21

    Alexander21

    Joined:
    Dec 14, 2015
    Posts:
    220
    @Tomas 1856 i have deselect the x86 settings. When i try to upload the build it shows the severe warnings.I have attached the image with this. Shall i proceed against with this warnings or i am little bit afraid . may be apk not available for fewer devices....

    Kindly reply
     

    Attached Files:

  6. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    2,025
    Like mentioned in other threads, there's only few devices supporting x86, so don't worry about this
     
    jaimehvazz and siddharth3322 like this.
  7. Haze74

    Haze74

    Joined:
    Jul 28, 2015
    Posts:
    11
    Thanks @Tomas1856! Removing x86 from the build allowed me to upload to Google Play!
     
  8. v01pe_

    v01pe_

    Joined:
    Mar 25, 2015
    Posts:
    49
    I could upload but always got a warning, that the app doesn't fulfil the 64 bit requirements, although I checkes all 3 (in Unity available) architectures… also for me removing the x86 architecture got rid of the warning…

    When reading the correspondig ducumentation, I found this:
    So the problem is not including x86, but the absence of a corresponding x86_64. As aforementioned, I would not worry too much about it, as only very few devices actually depend on this architecture.