Search Unity

Need help with 2 Warnings on the Google Play Console

Discussion in 'Android' started by FerdinandEhni, Jul 1, 2020.

  1. FerdinandEhni

    FerdinandEhni

    Joined:
    May 26, 2020
    Posts:
    1
    Hello there,

    I built a Unity Game and uploaded it as a android app bundle the the Google Play Console. Then I got two Warnings.

    Problem 1:
    This App Bundle contains Java/Kotlin code, which might be obfuscated. We recommend you upload a deobfuscation file to make your crashes and ANRs easier to analyze and debug.

    What is this file and how can I add it?

    Problem 2:
    I can't upload the Symbols.zip because it is 301 MB and should be less the 300 MB. I already decreased the the texture size and I don't want to get rid of the 32bit version.

    Are there other ways to decrease the size?

    Thanks a lot for your help.
     
  2. carbon_studios

    carbon_studios

    Joined:
    Jun 14, 2020
    Posts:
    8
    For Problem 1, minify your code in the Publishing Settings section of your Player Settings.

    For Problem 2, I am also have this problem - except my Symbols.zip are over 1 GB. Anyone out there have an answer?
     
  3. kaarloew

    kaarloew

    Joined:
    Nov 1, 2018
    Posts:
    358
    2. Texture sizes shouldn't matter to Symbols.zip since they shouldn't be included in there. If you have any plugins in your project that you aren't using then removing those should reduce the Symbols.zip size

    If you are close to the size limit then rezipping (with maximum compression) the .zip file could help.
     
  4. habibullausa4261

    habibullausa4261

    Joined:
    Jun 25, 2020
    Posts:
    1
    I have no plugins to delete
    what should I do with problem no.2 ?
     
  5. carbon_studios

    carbon_studios

    Joined:
    Jun 14, 2020
    Posts:
    8
  6. Sermolux

    Sermolux

    Joined:
    Jun 2, 2016
    Posts:
    28
    I have had success with the symbols file by extracting, then re-zipping the files with 7zip using ultra compression. The new zip file is much smaller than what Unity produces and Google accepts it (I assume it will work the same, could be wrong).
     
    hansi_reit likes this.
  7. mrboembastic

    mrboembastic

    Joined:
    Oct 31, 2014
    Posts:
    12
    Same warnings,

    problem 1 solution fixed the warning

    Still stuck on problem 2 "This App Bundle contains native code, and you've not uploaded debug symbols"
     
    hansi_reit likes this.
  8. guneyozsan

    guneyozsan

    Joined:
    Feb 1, 2012
    Posts:
    86
    hansi_reit likes this.
  9. Sohaibkhan99

    Sohaibkhan99

    Joined:
    Dec 1, 2020
    Posts:
    2
    there is three option
    1-Use R8
    2-release
    3-Debug
    which option i can use ?
    i have same problem like 1
    thanks for advance
     

    Attached Files:

    hansi_reit likes this.
  10. Sohaibkhan99

    Sohaibkhan99

    Joined:
    Dec 1, 2020
    Posts:
    2
    i have two warnings
    1-this app bundle contain java kotlin code which might be obfuscated
    2-this app bundle contain native code you've not uploaded debug symbols;
    How can i get rid of this warnings
     

    Attached Files:

    • eer5.JPG
      eer5.JPG
      File size:
      40.6 KB
      Views:
      124
  11. BilalShahid

    BilalShahid

    Joined:
    Sep 16, 2014
    Posts:
    5
    Struck in Problem 2. I don't have any idea about Symbol.zip. Has Symbol.zip to upload this file along with Apk or App Bundle file? Kindly guide me.
     
    hansi_reit and samrichardsch like this.
  12. hari_goodboystudios

    hari_goodboystudios

    Joined:
    Jul 22, 2020
    Posts:
    1
    on unity Build setting panel you can check the create symbol.zip
    if it exceed 300MB, you should unziped it, and zipped it again with 7zip or winrar to make it smaller.
    but I still have problem when I upload it to google play console, it said:
    "Your Instant App APKs should contain at least one base APK"

    after I read the document, the symbol.zip is supposed to be uploaded if we're using apk.
    but if I upload the apk, I get warning that I should upload the .aab
    but if Im uploading the .aab, I got that I should upload the symbols thing

    so this is confusing, and I still got the answer yet.

    *edited* finally solved the issue, turns out I have to upload the .zip and the .txt by clicking the small three dot next to the uploaded .aab
     
    Last edited: Dec 22, 2020
    Uniqeum, hansi_reit and si_eta like this.
  13. Pedadjobi

    Pedadjobi

    Joined:
    Apr 1, 2020
    Posts:
    1
    in build settings
     

    Attached Files:

    • ok.png
      ok.png
      File size:
      35.2 KB
      Views:
      212
    hansi_reit likes this.
  14. hansi_reit

    hansi_reit

    Joined:
    May 5, 2018
    Posts:
    2
    Here is a detailed Video about how to get rid of these warnings:
     
    makavelith, zero4444, Zethros and 3 others like this.
unityunity