赞
踩
如果未使用fvm(flutter version manager) 管理器以下命令去除 fvm
keytool -genkey -v -keystore c:\Flutter\test\android\test.jks -keyalg RSA -keysize 2048 -validity 10000 -alias test
fvm flutter --version
fvm use 3.10.6
fvm list
fvm flutter pub get
fvm flutter clean
# debug apk
fvm flutter build apk --debug
# release apk
fvm flutter build apk --release
# debug aad
fvm flutter build appbundle --debug
# release aad
fvm flutter build appbundle --release
# 打包web(移动端的打包)
fvm flutter build web --web-renderer html
# (一般的打包)
fvm flutter build web
# (对pc端的打包)
fvm flutter build web --web-renderer canvaskit
fvm flutter build ios
fvm flutter logs
fvm flutter screenshot
fvm flutter create
fvm flutter pub run build_runner watch
# 删除重新生成代码
fvm flutter pub run build_runner watch --delete-conflicting-outputs
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。