文档开发者中心
我的

打开 previewer 失败,提示:loading failed. last operation timeout.

提示信息:

9:55:28: Executing task ':entry:buildDebugPreviewerResource -Pjs_watch_mode=true'...

Executing tasks: [:entry:buildDebugPreviewerResource] in project D:\HarmonyOS\DevEcoStudioProjects\PengpengballApplication

> Configure project :entry

Configuration 'testCompile' is obsolete and has been replaced with new configuration 'testImplementation'.It will be removed in 'version 2.5.0.0' of the Ohos Gradle Plugin

> Task :entry:preBuild

> Task :entry:mergeDebugJavaResource UP-TO-DATE

> Task :entry:compileDebugIdl NO-SOURCE

> Task :entry:mergeDebugResources

> Task :entry:mergeDebugProfile UP-TO-DATE

> Task :entry:processDebugProfile UP-TO-DATE

> Task :entry:compileDebugResources UP-TO-DATE

> Task :entry:compileDebugRFile UP-TO-DATE

> Task :entry:generateDebugBuildConfig UP-TO-DATE

> Task :entry:packageDebugRClass UP-TO-DATE

> Task :entry:compileDebugJavaWithJavac UP-TO-DATE

> Task :entry:buildDebugPreviewerResource

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.

Use '--warning-mode all' to show the individual deprecation warnings.

See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 891ms

11 actionable tasks: 3 executed, 8 up-to-date

9:55:29: Task execution finished ':entry:buildDebugPreviewerResource -Pjs_watch_mode=true'.

IDE日志文件:

attachmenttype
devecostudio-logs-20210713-101203.pdf
download
点赞
收藏
回复
3
分享
举报
浏览429 编辑于2021-07-13 02:20未知归属地
全部评论
最多点赞
最新发布
最早发布
经技术人员分析,可能是有些软件导致previewer的 agp.z 这个动态库被删除了,重新下载previewer 就解决了
3楼回复于2021-07-13 08:38 未知归属地

好滴,感谢支持,辛苦添加一下DevEco Studio小助手的微信,带上论坛这个问题的链接,将会有技术人员直接联系解决问题

2楼回复于2021-07-13 03:43 未知归属地
您好,相关问题已经反馈给工作人员,请耐心等待,感谢您对华为开发者论坛的支持。
1楼回复于2021-07-13 02:31 未知归属地
写回答
新增插入模板功能
一键使用模板,快速填写内容,轻松发帖~
知道了
  • 为了保障您的信息安全,请勿上传您的敏感个人信息(如您的密码等信息)和您的敏感资产信息(如关键源代码、签名私钥、调试安装包、业务日志等信息),且您需自行承担由此产生的信息泄露等安全风险。
  • 如您发布的内容为转载内容,请注明内容来源。

我要发帖子

了解社区公约,与您携手共创和谐专业的开发者社区。