將新版本上傳到Google Play控制檯時,我收到以下消息。在Google Play控制檯上傳apk時出現錯誤,我不明白
這種配置不能發佈,原因如下(多個):
It is forbidden that a device upgrading from API levels in range 12-23 to API levels in range 24+ should downgrade from version 16 to version 15, which would occur when
Screen layouts containing any of [normal, large, xlarge] and
Features containing all of [android.hardware.FAKETOUCH].
Some devices are eligible to run multiple APKs. In such a scenario, the device will receive the APK with the higher version code.
舊版本15。我在AndroidManifest(Eclipse中)爲15版配置爲:
- 的minSdkVersion = 「12」
- targetSdkVersion = 「22」
- maxSdkVersion = 「23」
- android.permission.VIBRATE
- com.android.vending.CHECK_LICENSE
- android.permission.INTERNET對
- android.permission.ACCESS_NETWORK_STATE
- android.permission.WRITE_EXTERNAL_STORAGE
- android.permission.READ_EXTERNAL_STORAGE
- 編譯版本API19(從Eclipse構建)
我從Eclipse中遷移到AndroidStudio 和我的16版本的新配置是現在:
NEW VERSION 16 AndroidStudio:
- compileSdkVersion 25
- 的minSdkVersion 12
- targetSdkVersion 22
- maxSdkVersion 23
- android.permission.VIBRATE
- com.android.vending.CHECK_LICENSE
- android.permission.INTERNET對
- android.permission.ACCESS_NETWORK_STATE
- android.permission.WRITE_EXTERNAL_STORAGE
- android.permission.READ_EXTER NAL_STORAGE
有人可以幫我嗎?
你可以在build.gradle(Module:app)中檢查版本代碼嗎? –
其16.你的意思是? –
我解決了它。我剛剛刪除了maxSdkVersion,然後運行。不知道爲什麼。 –