我在将应用上传到Google Play时收到以下错误信息。无法弄清楚原因。
This configuration cannot be published for the following reason(s):
A device with API levels in range 8+ is eligible to receive version 2, which is optimized for higher API levels, but actually receives version 3 because it has a higher version code. This would occur when
Screen layouts containing any of [small, normal, large, xlarge] and
Features containing all of [android.hardware.LOCATION, android.hardware.location.GPS, android.hardware.location.NETWORK, android.hardware.TOUCHSCREEN].
A device upgrading from API levels = 7 to API levels in range 8+ would become eligible to receive version 2, which is optimized for higher API levels, but would actually receive version 3 because it has a higher version code. This would occur when
Screen layouts containing any of [small, normal, large, xlarge] and
Features containing all of [android.hardware.LOCATION, android.hardware.location.GPS, android.hardware.location.NETWORK, android.hardware.TOUCHSCREEN]
答案 0 :(得分:0)
您的版本代码搞砸了。检查清单,并进行必要的更改。
每次上传的应用版本都需要更新版本代码,因为Google Play会使用它们来确定应用的生命周期。
有关详情,请查看the official android guidelines。