android - Unity Google Play 控制台警告优化 APK

标签 android unity3d google-play-console

我将 Unity 游戏上传到 Google Play 控制台。但是我收到了这个警告:

APK without optimization Warning:

This APK has codes and resources that are not used and that are being sent to users. Reduce the size of your application with the Android App Bundle. If you do not optimize your application for different device configurations, it will weigh too much to download and install it on users' devices. The heavier applications have a lower volume of downloads. In addition, they take up a lot of storage space on users' devices.

Solution: Use the Android App Bundle to be automatically optimized according to different device configurations or manage it with several APKs.

为什么可以?在我的 Unity 项目中,我有所有必要的场景,在 Asset 中,我有资源、预制件、脚本......

我有一些资源还没有在任何场景中使用,这可能是问题所在? 如果是,我该如何解决?我不想从我即将使用的项目中删除资源...

最佳答案

您上传了一个 apk。您可以使用 unity 上传 Android App Bundle:

enter image description here

关于android - Unity Google Play 控制台警告优化 APK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56478707/

相关文章:

android - ListView 过滤器 - 退格过滤(删除)

android - 无法打开本地终端

unity3d - 没有足够的空间来安装 Unity

c# - 未经授权的访问异常 : Access to the path [ iOS/Unity3D ]

android - 在 Play 控制台中为登台和生产单独实时通知

android - 如何获取内部测试的选择加入 URL?

android - 如何在 Android R8 中只关闭混淆?

c# - 在 Unity3D 中使用单例

android - 在我的 Google Play 帐户中,应用程序登录私钥按钮被禁用

android - Kotlin - 可能错误地报告未使用的代码