Reputation: 43
Warnings
Check these warnings before starting the rollout of this release. Addressing the warnings on this page will ensure your existing users are able to upgrade to the latest version of your app.
How i can fix that in android studio?
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.
Upvotes: 3
Views: 1793
Reputation: 93542
You don't need to do anything with that. Its telling you that you have assets for multiple screen sizes being sent to users, and that they'll only use one of them. You can make your apk smaller by building and uploading multiple apks, but unless you have a very large apk its probably not worth the time/effort.
If you're not able to upload it at all, you're missing another error somewhere else.
Upvotes: 3