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里面的
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