我尝试在 Google Play 管理中心上传应用的测试版。我收到此错误消息:
This configuration cannot be published for the following reason(s):
It is forbidden that a device upgrading from API levels in range 14-25 to API levels in range 26+ should downgrade from version 118018 to version 118008, which would occur when
Release track containing any of [BETA] and
Screen layouts containing any of [small, normal, large, xlarge] and
Features containing all of [android.hardware.FAKETOUCH, android.hardware.screen.PORTRAIT]
我找了几个小时这个错误,我没主意了......
编辑: 这是我的 build.gradle:
最佳答案
根据 doc在发布之前,您不能发布或发布适用于 Android O 的 Apk。
You cannot publish your app with this configuration. The “O” version is a provisional API level that is usable only for development and testing during the Android O Developer Preview. You must wait to publish your Android O changes until the final API level is released, and then update your configuration again at that time.
更多信息 here .
关于android - Google Play 控制台 API 级别 26+,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41714569/