Search Unity

Can you export an .aab file from Unity 2017.4?

Discussion in 'Android' started by protopop, Sep 3, 2019.

  1. protopop

    protopop

    Joined:
    May 19, 2009
    Posts:
    1,560
    Is it possible to build an aab file directly inside unity 2017.4.31? I didnt see an abb checklist in the build player settings.
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,789
    I think so, the checkbox should be in the player settings.
     
    protopop likes this.
  3. protopop

    protopop

    Joined:
    May 19, 2009
    Posts:
    1,560
    Thank you - i dont see anything here

    Screen Shot 2019-09-04 at 11.11.05 AM.png

    Screen Shot 2019-09-04 at 11.14.31 AM.png

    But if i select GRADLE instead of INTERNAL some more checkboxes pop up, but nothing about aab specifically

    Screen Shot 2019-09-04 at 11.11.19 AM.png

    MAybe we cant export an aab out of unity 2017.4?
     
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,789
    It says here ( https://blogs.unity3d.com/2019/03/0...bit-and-app-bundles-backported-to-2017-4-lts/ ) that aab support was backported to 2017. Gradle is a requirement.

    I’m sorry I think I was wrong, the checkbox should be in the build panel, not sure why I thought it’s in player settings. Maybe try build settings now that you’ve switched to Gradle.

    Also, make sure you uncheck x86 support when building, it makes Google play not accept the .aab files.
     
  5. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,789
    Yeah, I just double checked : It should be in build settings, but it only shows if you have build system set to Gradle, apologies for the misinformation.
     
    protopop likes this.
  6. protopop

    protopop

    Joined:
    May 19, 2009
    Posts:
    1,560
    Cool - thank you. I guess if i have both dropdowns set to Gradle (i dont know what a gradle is but...) it will build an abb maybe? Ill try it.
     
  7. protopop

    protopop

    Joined:
    May 19, 2009
    Posts:
    1,560
    It worked. It just builds an .aab file after changing the setting to Gradle in the Build Settings panel and checking the .aab box there. Thank you:)