config.gradle
ext{SDK_VERSION = 33MIN_SDK_VERSION = 23TARGET_SDK_VERSION = 33COMPILE_SDK_VERSION = SDK_VERSIONBUILD_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_VERSIONtargetSdkVersion TARGET_SDK_VERSION//就是这个,传33过去versionCode flutterVersionCode.toInteger()versionName flutterVersionNamemultiDexEnabled truendk {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