New Google Play WARNING: Unoptimized APK

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 theAndroid App Bundleto 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

Yep. Corona is working on it:

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

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.

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.

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

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

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](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"},](http://pzocontentserver2.77sparx.com/plugins/amplitude_android.tgz)  
                    iphone = {url = "[http://pzocontentserver2.77sparx.com/plugins/amplitude\_iPhone.tgz"},](http://pzocontentserver2.77sparx.com/plugins/amplitude_iPhone.tgz)  
                    ["android-kindle"] = {url = "[http://pzocontentserver2.77sparx.com/plugins/amplitude\_android.tgz"},](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"},](http://pzocontentserver2.77sparx.com/plugins/ajustIOS.tgz)  
                    android = {url = "[http://pzocontentserver2.77sparx.com/plugins/ajustAndroidNoPhoneStatePermission.tgz"},](http://pzocontentserver2.77sparx.com/plugins/ajustAndroidNoPhoneStatePermission.tgz)  
                    ["mac-sim"] = false,  
                    ["win-sim"] = false,  
                },  
            },  
 

Yep. Corona is working on it:

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

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.

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.

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

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

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](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"},](http://pzocontentserver2.77sparx.com/plugins/amplitude_android.tgz)  
                    iphone = {url = "[http://pzocontentserver2.77sparx.com/plugins/amplitude\_iPhone.tgz"},](http://pzocontentserver2.77sparx.com/plugins/amplitude_iPhone.tgz)  
                    ["android-kindle"] = {url = "[http://pzocontentserver2.77sparx.com/plugins/amplitude\_android.tgz"},](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"},](http://pzocontentserver2.77sparx.com/plugins/ajustIOS.tgz)  
                    android = {url = "[http://pzocontentserver2.77sparx.com/plugins/ajustAndroidNoPhoneStatePermission.tgz"},](http://pzocontentserver2.77sparx.com/plugins/ajustAndroidNoPhoneStatePermission.tgz)  
                    ["mac-sim"] = false,  
                    ["win-sim"] = false,  
                },  
            },