android - “为平板电脑设计应用”优化技巧

标签 android android-studio google-play tablet

我最近在Google Play中上传了一个应用。我只有一个PNG图标
放在m,h,xh,xxh和xxxh dpi文件夹中,其余的应用程序图标是svg,我已将它们放在anydpi文件夹中。但是在控制台中,我看到以下优化提示:

Your Production APK needs to meet the following criteria:

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

这是我的res文件夹的屏幕截图

enter image description here

我搜索了stackoverflow,发现了一些相关问题,但是没有答案对我有帮助。有人知道我在做什么错吗?

最佳答案

您可能需要将此配置行添加到gradle文件中:
defaultConfig { vectorDrawables.useSupportLibrary = true

关于android - “为平板电脑设计应用”优化技巧,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43559136/

相关文章:

android - 如何动态改变描边颜色?

android - 如何在您的 Android 应用程序中销售来自 Google Play 的音乐?

android - 如何将 iPhone 添加到 Android Studio?

java - 广播流媒体

android - 为什么我的 Android 应用程序不请求安装权限?

android - 英国英语和美国英语的 apk 字符串本地化?

android - 由于使用权限 maxSdkVersion,Google Play APK 上传失败

android - 为什么某些字体无法在某些 Android 标准版浏览器上呈现?

Android Studio 错误高亮

Android Studio 3.1.4 网格布局 v7 :28 not rendering