Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

google won't let me upload my game, saying apk isn't optimized

Discussion in 'Android' started by brunoenvia, Aug 25, 2019.

  1. brunoenvia

    brunoenvia

    Joined:
    Aug 5, 2019
    Posts:
    94
    i'm trying to upload my game to play store but i get this error message saying
    my apk isn't optimized how can i fix this?
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,628
    It's a warning and not an error though, right?
     
  3. brunoenvia

    brunoenvia

    Joined:
    Aug 5, 2019
    Posts:
    94
    yea but doesn't let me publish my game

     
  4. Duobix

    Duobix

    Joined:
    Dec 6, 2014
    Posts:
    52
    @brunoenvia That's weird that it doesn't let you publish the APK. Are there any other messages on the publication site about this?
    Have you tried building an App Bundle & uploading that instead? (a single option in build settings allows for that)
     
  5. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,350
    what size is your app?
     
  6. ebenknot

    ebenknot

    Joined:
    Dec 26, 2013
    Posts:
    90
    create an app bundle
     
  7. TimothyGates

    TimothyGates

    Joined:
    Jan 31, 2019
    Posts:
    19
    I get the same message, please can you advise on how do you do the app bundle
     
  8. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    I just went through this myself. Agreed it doesn't seem like just a warning when they disable the publish button! Anyway, in Build settings, choose Build App Bundle (Google Play). And the resulting aab is indeed quite a bit smaller than the corresponding apk in my case.
     
  9. TimothyGates

    TimothyGates

    Joined:
    Jan 31, 2019
    Posts:
    19
    Thank you, I rebuilt in unity 2019.1 and put it on google play a few days ago, so far it is still there, even had one download. after all that has been changed, I like many are wary of Google play with their rules