Search Unity

Android build always in debug mode

Discussion in 'Android' started by nsmith1024, Sep 15, 2020.

  1. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    870
    Hello,

    I did a build using Unity 2020.1.2 for Android, the build was aab file (Build App Bundle for google play checked)/

    I unchecked debug build from the build settings menu.

    In player settings (minify), i have R8 checked, release and debug unchecked.

    Arm 7 unchecked and Arm 64 checked.

    After building i upload aab file to android play store, but it keeps telling me the file is invalid because the file contains debugging information (that i uploaded a debuggable apk)

    Anybody knows whats wrong? I have debug build un checked in build settings.

    Thanks
     
  2. Suduckgames

    Suduckgames

    Joined:
    Nov 28, 2016
    Posts:
    218
    Take a look at the manifest of the build. If you find the android:debug = true, that may be the problem. Maybe some plugin/SDK is inserting the debug line on your game