Flutter 常用命令介绍
2019-12-04 App开发
Flutter #
Flutter常用命令 #
创建 #
flutter create xxx // 创建项目
flutter create --org com.xxxx appName // 指定包名创建
flutter create xxx // 创建项目
flutter create --org com.xxxx appName // 指定包名创建
运行 #
flutter run // 默认运行
flutter run --release // release运行
flutter run // 默认运行
flutter run --release // release运行
诊断 #
flutter doctor
flutter doctor
flutter版本号 #
flutter --version
flutter --version
升级flutter channel 和 packages #
flutter upgrade
flutter upgrade
查看flutter版本 #
flutter channel
flutter channel
切换版本 #
flutter channel master/stable/dev/beta
flutter channel master/stable/dev/beta
下载packages包 #
flutter packages get
flutter packages get
打包Andriod apk Release包 #
#64
flutter build apk --release --target-platform android-arm64
#32
flutter build apk --release --target-platform android-arm
#64
flutter build apk --release --target-platform android-arm64
#32
flutter build apk --release --target-platform android-arm
版权属于: vincent
转载时须注明出处及本声明