gpt4 book ai didi

android - 我无法在 Google Play 商店中更新 : Version error

转载 作者:行者123 更新时间:2023-11-30 02:23:00 25 4
gpt4 key购买 nike

我正在尝试在 Google Play 商店中更新我的应用程序,但我不能,它向我发送此错误:

This setting can not be published for the following reasons:
Do not allow a device to update the version of API levels in the range 15-18 API levels in the range 19+ pass from version 8 to version 7. This happens when
Screen layouts with [small, normal, large, xlarge] and
Features with [android.hardware.screen.PORTRAIT, android.hardware.TOUCHSCREEN].

消息说版本配置为 API 版本 15-18,这很奇怪,因为这是我的 build.grade 文件:

apply plugin: 'android'

android {
compileSdkVersion 21
buildToolsVersion '21.1.2'
defaultConfig {
minSdkVersion 15
targetSdkVersion 21
versionCode 8
versionName "1.7"
applicationId 'xxx.xxxx.xxxxxx'
}
buildTypes {
release {
minifyEnabled false
debuggable false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
productFlavors {
}
}

dependencies {
compile 'com.android.support:support-v13:+'
compile 'com.android.support:support-v4:+'
compile project(':libraries:facebook')
compile(name:'android-widevine-plugin-4.2.8', ext:'aar')
compile(name:'android-sdk-4.2.8', ext:'aar')
}

发布的应用程序版本是 7,所以这不是问题。

这是我可以上传到 Google Play 商店的最后一个版本的 build.gradle 文件

apply plugin: 'android'

android {
compileSdkVersion 19
buildToolsVersion '19.0.0'

defaultConfig {
minSdkVersion 15
targetSdkVersion 19
versionCode 7
versionName "1.6"
}
buildTypes {
release {
debuggable false
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}

dependencies {
compile 'com.android.support:support-v13:+'
compile 'com.android.support:support-v4:+'
compile project(':libraries:facebook')
compile files('lib/OoyalaSDK.jar')
}

请帮帮我。谢谢

最佳答案

检查你的依赖项,也许其中之一是限制最大值。 API 的版本。

compile(name:'android-widevine-plugin-4.2.8', ext:'aar')
compile(name:'android-sdk-4.2.8', ext:'aar')

关于android - 我无法在 Google Play 商店中更新 : Version error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28219884/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com