config.gradle
ext{
SDK_VERSION = 33
MIN_SDK_VERSION = 23
TARGET_SDK_VERSION = 33
COMPILE_SDK_VERSION = SDK_VERSION
BUILD_TOOL_VERSION = "33.0.0"
//兼容库版本
SUPPORT_LIB_VERSION = "33.0.0"
}
app/build.gradle里面的文章来源:https://www.toymoban.com/news/detail-667604.html
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.socialim.app"
minSdkVersion MIN_SDK_VERSION
targetSdkVersion TARGET_SDK_VERSION//就是这个,传33过去
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
multiDexEnabled true
ndk {
abiFilters "arm64-v8a"
}
manifestPlaceholders = [
// XG_ACCESS_ID : "1520011435", // 信鸽官网注册所得ACCESS_ID
// XG_ACCESS_KEY: "ASUNQ06ER3EY", // 信鸽官网注
XG_ACCESS_ID : "1520011440",
XG_ACCESS_KEY: "ALGHMUEIG5I4",
]
}
有时候谷歌会让你发的app版本起码为android 13,那就要改上面的TARGET_SDK_VERSION文章来源地址https://www.toymoban.com/news/detail-667604.html
到了这里,关于flutter TARGET_SDK_VERSION和android 13的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!