我想重命名我的应用程序包,因为我的应用程序包是com.example.example,所以我无法在Play商店上载我的应用程序。如何轻松更改?
转到,应用程序级别为
build.gradle
,并指定唯一的应用程序ID
defaultConfig {
applicationId "your-package-name"
minSdkVersion 16
targetSdkVersion 27
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
转到
Info.plist
目录中的ios/Runner
,并更改捆绑程序标识符
<key>CFBundleIdentifier</key>
<string>com.your.packagename</string>