VScode创建Flutter应用后怎么改包名
在VScode中创建Flutter应用时默认包名为com.example.*
创建名为demo的应用
flutter create demo
修改android/app/build.gradle
改为你需要的包名
修改android/app/src/main/AndroidManifest.xml
改为同上的包名
修改android/app/src/debug/AndroidManifest.xml
改为同上的包名
修改android/app/src/main/kotlin/com/example/demo/MainActivity.kt
改为同上的包名
最好将android/app/src/main/kotlin/com/example的名字也更改一下