我最近在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文件夹的屏幕截图
我搜索了stackoverflow,发现了一些相关问题,但是没有答案对我有帮助。有人知道我在做什么错吗?
最佳答案
您可能需要将此配置行添加到gradle文件中:defaultConfig {
vectorDrawables.useSupportLibrary = true
关于android - “为平板电脑设计应用”优化技巧,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43559136/