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.
Use the Android App Bundle to automatically optimize for device configurations, or manage it yourself with multiple APKs.
Make sure to remove any components, assets or functions that are not used by your app.
Adding an asset (like a media file) to your app will cause this error if the asset is not used in any Design Screen or Blocks Screen.
Make sure you app has none of the following:
Blocks with errors
‘when’ blocks with no code inside
Grey, unused blocks
If these are in your app, please remove them before trying to publish your app again.
This should take care of the issue.
2: Publish it Anyway
You can still publish your app even if you see this message.
You can’t roll out your app to production yet because you need to do some extra tasks.
These tasks are marked with grey checks on your Play Store publishing console.
Hi there! I just finished my first app in Thunkable – with basic screen transitions, content variables, and a connection to firebase. That’s it!
When putting the apk file to the production track in the Google Play store, I get a warning that the apk is not optimized & has unused code. I can’t resolve this issue. And I don’t even need all the permissions which are stated there, and most of my assets are located in Firebase. So 31 MB seems a big file size indeed…
Result: I can’t release the app.
Can someone help me out?
Did someone had a similar problem?
You can still publish it. You simply have to complete all the steps of the listing. On the left menu, you have to tell google if there are ads, etc. So explore the app content, then content rating, pricing, etc. Get all that done and then it will let you publish.