Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

New Google Play WARNING: Unoptimized APK
Started by troylyndon May 07 2019 11:17 PM

6 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

troylyndon

[GLOBAL: userInfoPane.html]
troylyndon
  • Contributor

  • 613 posts
  • Corona SDK

Can anyone shine some light on this?

In addition to the 64-bit Warning we see everyday now, today's new warning is as follows:

 

Unoptimized APK

Warning:

This APK results in unused code and resources being sent to users. Your app could be smaller if you used the Android App Bundle. By not optimizing your app for device configurations, your app is larger to download and install on users' devices than it needs to be. Larger apps see lower install success rates and take up storage on users' devices.

Resolution:

Use the Android App Bundle to automatically optimize for device configurations, or manage it yourself with multiple APKs.

 

The Android App Bundle link goes to: https://developer.android.com/platform/technology/app-bundle

 



[TOPIC: post.html]
#2

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,174 posts
  • Corona SDK

Yep. Corona is working on it:

 

https://forums.coronalabs.com/topic/74839-google-play-64-bit-requirement/?hl=%2B64-bit+%2Bwarning#entry397652



[TOPIC: post.html]
#3

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,110 posts
  • Corona SDK

That error message is different from mine (that Rob posted).  Mine was about 64 bit compiles (or lack thereof) btw.

 

Note: I just pushed an update to GP today and didn't get the warning you got.



[TOPIC: post.html]
#4

siddharth.mbd

[GLOBAL: userInfoPane.html]
siddharth.mbd
  • Observer

  • 1 posts
  • Corona SDK

I am too getting the same Warning message.

chek screenshot for more info http://prntscr.com/nwk71d

Not able to find a proper solution for the same.



[TOPIC: post.html]
#5

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,913 posts
  • Enterprise

Again, this is a warning, probably harmless. It's possible that some are getting it because there may be some plugins including libraries that are not being used or something.

 

We really don't have enough data from these reports to determine what is triggering this warning from Google Play's automatic testing. Maybe people getting it could share build.settings to see if we can find some commonality.

 

Rob



[TOPIC: post.html]
#6

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,110 posts
  • Corona SDK

I only use admob and open SSL so maybe it is another plugin?

[TOPIC: post.html]
#7

akao

[GLOBAL: userInfoPane.html]
akao
  • Contributor

  • 357 posts
  • Corona SDK

We just received this message as well (6/17/2019). We didn't see this message in our app release just a month ago on 5/17/2019. Our list of plugins haven't changed during this time. We do use a pretty long list of plugins, including some custom built ones. Could the plugins be the issues? They include:

 

```

        ["plugin.zip"] =
            {
                publisherId = "com.coronalabs",
            },

        ["CoronaProvider.analytics.flurry"] =
            {
                publisherId = "com.coronalabs"
            },

        -- https://marketplace.coronalabs.com/corona-plugins/review-popup
        ["plugin.reviewPopUp"] =
            {
                publisherId = "tech.scotth",
                supportedPlatforms = { iphone = true},
            },

        ["plugin.OneSignal"] =
             {
                publisherId = "com.onesignal",
                supportedPlatforms = { iphone = true, android = true },
            },

        ["plugin.google.iap.v3"] =
            {
                publisherId = "com.coronalabs",
                supportedPlatforms = { android = true },
            },

        ["plugin.amazon.iap"] =
            {
                publisherId = "com.coronalabs",
                supportedPlatforms = { ["android-kindle"] = true }
            },

        ["plugin.amplitude"] =
            {
                publisherId = "com.sx.plugin.amplitude",
                supportedPlatforms =
                {
                    android = {url = "http://pzocontentserver2.77sparx.com/plugins/amplitude_android.tgz"},
                    iphone = {url = "http://pzocontentserver2.77sparx.com/plugins/amplitude_iPhone.tgz"},
                    ["android-kindle"] = {url = "http://pzocontentserver2.77sparx.com/plugins/amplitude_android.tgz"},
                    ["mac-sim"] = false,
                    ["win-sim"] = false,
                },
            },
       
        ["plugin.adjust"] =
            {
                publisherId = "com.sx.plugin.adjust",
                supportedPlatforms =
                {
                    iphone = {url = "http://pzocontentserver2.77sparx.com/plugins/ajustIOS.tgz"},
                    android = {url = "http://pzocontentserver2.77sparx.com/plugins/ajustAndroidNoPhoneStatePermission.tgz"},
                    ["mac-sim"] = false,
                    ["win-sim"] = false,
                },
            },
 

```




[topic_controls]
[/topic_controls]