android - 误判Play商店中没有 'Designed for tablets'列表

标签 android google-play android-resources

最近我将我的新应用上传到了 Google Play 商店。然后优化提示说:

Design your app for tablets

Your Production APK needs to meet the following criteria:

(X) Your APK should include custom drawables assets for common tablet screen densities.

但实际上我包含了多种可绘制资源以用于各种屏幕密度(-mdpi、-tvdpi、-hdpi、-xhdpi、-xxhdpi 和 -xxxhdpi)。

我能想到的唯一原因是我的这些可绘制对象不在 drawable 文件夹中,而是在 mipmap 文件夹中。

因为我的应用程序在 mipmap 文件夹中除了 ic_launcher 图标之外不使用任何可绘制对象,它没有 drawable-***dpi 文件夹。

但是,Google 自己建议使用 mipmap 容器而不是 drawable 容器。

Managing Launcher Icons as mipmap Resources :

it is still best practice to move your launcher icons to the mipmap/ folders

只有我遵循了他们的指导。然后我从开发者控制台得到了上面的提示。

这是 Google Play 商店的错误,对吗?或者,有什么解决办法吗?

最佳答案

终于解决了。

如果您只有矢量可绘制对象(mipmap 中的 ic_launcher 除外),GooglePlay 控制台可能会自动检测到它,因为不包含常见平板电脑屏幕密度的任何可绘制资源

几天前,我发现有 Design for Tablet Contact Form 在 GooglePlay 控制台网站上。因此,在我声称我的应用程序只有矢量可绘制资源后,一位工作人员回复我说我的应用程序实际上已经为平板电脑做好了准备。现在,一切都好了。

enter image description here

关于android - 误判Play商店中没有 'Designed for tablets'列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35893947/

相关文章:

java - 如何设置EditText线条的粗细?

android - 在依赖数组适配器的 ListView 中以编程方式更改文本颜色

android - Google Play 商店内部测试无法开始推出

Android Play 商店 - 阻止我的应用程序自动更新

android - 如何在 Android Jetpack Compose 中使用字符串资源?

java - JSONObject 中的 JSONObject

android - 实现自定义 Facebook 点赞按钮而不是使用 Facebook 的默认点赞按钮 (LikeView)?

android - Google Play 用户安装问题

android - BitmapFactory.decodeResource 和 drawable* 文件夹

Android Studio 无法解析导入项目中的 R?