我已经通过 libgdx 构建了一个游戏并将 apk 文件上传到开发者控制台。然而,它说
Your Production APK needs to meet the following criteria:
- Your layout should make use of the available space on tablets
那么我应该对布局进行哪些更改呢?因为据我所知,在 libgdx 中,布局与游戏完全无关。
最佳答案
我在使用最新的 libgdx 应用程序时遇到了同样的问题,尽管它在平板电脑上看起来也不错。 在尝试了几件事后,我的应用程序被 Google 认定为“专为平板电脑设计”:
经过网络研究后,我发现了这个“平板电脑联系表单设计”:https://support.google.com/googleplay/android-developer/contact/tabletq
在这里您必须提交您的电子邮件和应用程序包名称并撰写您的申诉。
我论证的主要部分如下:
I am drawing the game using a game engine called libgdx, which I configured to take care about tablet screens optimization as well. So most of the layout handling is done in libgdx, the standard android layout I just use for positioning the admob banner.
重要说明:请务必在平板电脑上测试您的应用,并尝试在您的应用设计中尽可能接近 Google's tablet guidelines 中的建议。在提交此表单之前。
我在 30 分钟内 (!) 收到了 Google 的答复,他们将在应用程序中添加“专为平板电脑设计”!
所以我的结论是谷歌首先尝试通过某种算法自动检查设计,但由于 libgdx 不使用标准的 android 布局,它可能无法看到它针对平板电脑进行了优化。但是在手动审查 libgdx 之后,我很快就得到了“专为平板电脑设计”的标签。
关于android - 将 libgdx 游戏配置为 "designed for tablets",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20452801/