简体   繁体   中英

changing MinSdk after launcing in Store for flutter App and error in install

I have launched a app this 2 month ago with signing and this properties:

defaultConfig {
    minSdkVersion 18
    targetSdkVersion 31
    versionCode flutterVersionCode.toInteger()
    versionName flutterVersionName
}

Now i added some new features like firebase messaging and firebase notification that require at least MinSdk 19 ; So i changed MinSdk to => 19 and change version from

version: 1.0.0+6

to

 version: 1.1.1+0

But when i release new version and try to update last version whit new version it make trouble whit error :

"Not Installed App : package appears to be corrupt"

(and i don't want to removing it from device because of logged users) Could someone Help me about it?

Build number should be incremented every time you publish a new version to any app store. So it should be:

version: 1.1.1+7

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM