Search Unity

Can't build App Bundle or split Apk to reduce size of android builds

Discussion in 'Android' started by BenoitFreslon, Sep 28, 2019.

  1. BenoitFreslon

    BenoitFreslon

    Joined:
    Jan 16, 2013
    Posts:
    136
    Hello,

    Build App Bundle : Failed to run aapt dump badging

    I want to upload a Build App Bundle On Google Play but after building the App Bundle by checking "Build App Bundle" on the Build settings I got this error message:

    Code (CSharp):
    1. Failed to run aapt dump badging: ERROR: dump failed because no AndroidManifest.xml found
    With Unity 2018.4.5 I can build a normal .apk without problem with gradle.


    Split APK > Destination folder empty

    When I want to split APKs by target architecture but when the build ends. The destination folder is completely empty after the build is completed. 0 APKS.
    I checked Split APKs by target architecture.

    With Unity 2018.4.5 Mac
     
  2. Reisender

    Reisender

    Joined:
    Jun 26, 2014
    Posts:
    28
    Had a similar issue with Unity 2018.4.12f1 and fixed it by changing the build system from "internal" to "Gradle"... it seems the internal build system is being deprecated and this bug is not being resolved.
     
  3. BenoitFreslon

    BenoitFreslon

    Joined:
    Jan 16, 2013
    Posts:
    136
    Thanks but I always use Gradle actually.
     
    Last edited: Nov 20, 2019