找到 android 层下的 buildTypes, 改为一下内容: // 用于自动签名 buildTypes { release { minifyEnabled true useProguard false // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. signingConfig signingConfigs.release } }