https://docs.qq.com/sheet/DUnljRVBYUWZKZEtF?tab=BB08J2下载编译产物后然后在对应自己的flutter项目工程目录下编译和运行(window跟mac是一样的)flutter build hap --local-engine=F:\flutterEngine\engine-windows\20231226\src\out\ohos\_debug\_unopt\_arm64 --debugflutter run --debug --local-engine=F:\flutterEngine\engine-windows\20231226\src\out\ohos\_debug\_unopt\_arm64如果更新flutter\_flutter的dev分支(6月15日)之后的版本,然后编译和运行不需要传–local-engine参数了。
https://docs.qq.com/sheet/DUnljRVBYUWZKZEtF?tab=BB08J2
下载编译产物后然后在对应自己的flutter项目工程目录下编译和运行(window跟mac是一样的)
flutter build hap --local-engine=F:\flutterEngine\engine-windows\20231226\src\out\ohos\_debug\_unopt\_arm64 --debug
flutter run --debug --local-engine=F:\flutterEngine\engine-windows\20231226\src\out\ohos\_debug\_unopt\_arm64
如果更新flutter\_flutter的dev分支(6月15日)之后的版本,然后编译和运行不需要传–local-engine参数了。