用户名
Email
论坛
潜水/灌水快乐,沉淀知识,认识更多同行。
ToB圈子
加入IT圈,遇到更多同好之人。
朋友圈
看朋友圈动态,了解ToB世界。
ToB门户
了解全球最新的ToB事件
博客
Blog
排行榜
Ranklist
文库
业界最专业的IT文库,上传资料也可以赚钱
下载
分享
Share
导读
Guide
相册
Album
记录
Doing
应用中心
帖子
本版
文章
帖子
ToB圈子
用户
免费入驻
产品入驻
解决方案入驻
公司入驻
案例入驻
登录
·
注册
只需一步,快速开始
账号登录
立即注册
找回密码
用户名
自动登录
找回密码
密码
登录
立即注册
首页
找靠谱产品
找解决方案
找靠谱公司
找案例
找对的人
专家智库
悬赏任务
圈子
SAAS
IT评测·应用市场-qidao123.com技术社区
»
论坛
›
软件与程序人生
›
移动端开发
›
flutter build hap打包编译时报错:hvigor ERROR: Faile ...
flutter build hap打包编译时报错:hvigor ERROR: Failed :entry:default@C ...
惊雷无声
论坛元老
|
2024-8-16 04:38:01
|
显示全部楼层
|
阅读模式
楼主
主题
1791
|
帖子
1791
|
积分
5373
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要
登录
才可以下载或查看,没有账号?
立即注册
x
xxx:~/demo/flutter_ohos$ flutter build hap --target-platform ohos-arm64 --local-engine-src-path=/home/xxx/work/engine/src --local-engine=ohos_release_arm64
Downloading Linux x64 Dart SDK from Flutter engine 1a65d409c7a1438a34d21b60bf30a6fd5db59314...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 238M 100 238M 0 0 23.4M 0 0:00:10 0:00:10 --:--:-- 24.6M
Building flutter tool...
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Downloading Material fonts... 351ms
Downloading Gradle Wrapper... 29ms
Downloading package sky_engine... 128ms
Downloading flutter_patched_sdk tools... 232ms
Downloading flutter_patched_sdk_product tools... 261ms
Downloading linux-x64 tools... 1,257ms
Downloading linux-x64/font-subset tools... 79ms
start hap build...
ohosPluginsManager: no need to install ohos plugins
check platform environment
current platform environment PUB_HOSTED_URL = https://pub.flutter-io.cn
current platform environment FLUTTER_STORAGE_BASE_URL = https://storage.flutter-io.cn
current platform environment OHPM_HOME = /home/xxx/tools/oh-command-line-tools/ohpm
Compiling ohos_aot_bundle_release_ohos-arm64 for the Ohos... 908ms
copy flutter assets to project start
copy directory from /home/xxx/demo/flutter_ohos/build/ohos/flutter_assets to
/home/xxx/demo/flutter_ohos/ohos/entry/src/main/resources/rawfile/flutter_assets
copy flutter assets to project end
copy flutter runtime to project start
originHarFile: LocalFile:
'/home/xxx/flutter_flutter/packages/flutter_tools/templates/app_shared/ohos.tmpl/har/har_product.tmpl/flutter_embedding.har.release.10'
flutterEngineSoPath: /home/xxx/work/engine/src/out/ohos_release_arm64/libflutter.so
copy flutter runtime to project end
install completed in 0s 2ms
ohpm install success.
install completed in 0s 81ms
ohpm install success.
> hvigor Finished :entry:clean... after 16 ms
> hvigor UP-TO-DATE :entry:default@PreBuild...
> hvigor Finished :entry:default@GenerateMetadata... after 9 ms
> hvigor Finished :entry:default@CreateBuildProfile... after 2 ms
> hvigor Finished ::clean... after 1 ms
> hvigor Finished :entry:default@BuildNativeWithCmake... after 1 ms
> hvigor Finished :entry:default@GenerateLoaderJson... after 4 ms
> hvigor Finished :entry:default@MergeProfile... after 3 ms
> hvigor Finished :entry:default@BuildNativeWithNinja... after 1 ms
> hvigor Finished :entry:default@MakePackInfo... after 7 ms
> hvigor Finished :entry:default@ProcessProfile... after 67 ms
> hvigor Finished :entry:default@ProcessLibs... after 66 ms
> hvigor Finished :entry:default@ProcessResource... after 7 ms
> hvigor Finished :entry:default@DoNativeStrip... after 50 ms
> hvigor Finished :entry:default@CompileResource... after 51 ms
> hvigor Finished :entry:default@CacheNativeLibs... after 136 ms
> hvigor Finished :entry:default@BuildJS... after 2 ms
> hvigor ERROR: Failed :entry:default@CompileArkTS...
> hvigor ERROR: ArkTS Compiler Error
ERROR: ArkTS:ERROR File:
/home/xxx/demo/flutter_ohos/ohos/oh_modules/.ohpm/@ohos+flutter_ohos@file+har+flutter_embedding.har/oh_modules/@ohos/flutter_ohos/src/main/ets/embedding/engine/FlutterEngineConnectionRegistry.ets:85:29
Cannot find name 'ESObject'.
复制代码
有人遇到雷同题目吗?不知道怎么办理了
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
回复
举报
0 个回复
倒序浏览
返回列表
快速回复
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
or
立即注册
本版积分规则
发表回复
回帖并转播
回帖后跳转到最后一页
发新帖
回复
惊雷无声
论坛元老
这个人很懒什么都没写!
楼主热帖
记一次实战 Shiro反序列化内网上线 ...
基于 Sealos 的镜像构建能力,快速部署 ...
蚂蚁金服杨军:蚂蚁数据分析平台的演进 ...
Linux之iptables(NAT表)——实验篇 ...
超融合走向红海,下一代超融合是新蓝海 ...
联合评测 DapuStor Roealsen5 NVMe SSD ...
1亿条数据批量插入 MySQL,哪种方式最 ...
【学习笔记】WPF-02:XMAL基础 ...
Neo4j
学习TraceLogging事件,使用ETW记录, ...
标签云
集成商
AI
运维
CIO
存储
服务器
登录参与点评抽奖加入IT实名职场社区
下次自动登录
忘记密码?点此找回!
登陆
新用户注册
用其它账号登录:
关闭
快速回复
返回顶部
返回列表