HarmonyOS 鸿蒙Next mac 系统demo启动提示日志失败

HarmonyOS 鸿蒙Next mac 系统demo启动提示日志失败

hdc shell am start -n "ohos.samples.backgrounddownload/ohos.samples.backgrounddownload.MainAbilityShellActivity"

Connected to process 12581 on device 'New_Device_from_Huawei_Phone [emulator-5554]'.

Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat Output" section of the "Debugger" settings page.

E/: logPower_print not support

E/libc: Access denied finding property "persist.device_config.runtime_native.use_app_image_startup_cache"

E/kgrounddownloa: LoadAppImageStartupCache enabled : 1

Unknown bits set in runtime_flags: 0x8000

E/: [ZeroHung]ZrhungIoctl: open /dev/hwlog_exception failed

E/: [ZeroHung]zrhung_get_config: Get config failed for wp[0x0102]

E/BehaviorCollectManager: Fail to acquire dataAnalyzerService...

E/OpenGLRenderer: RenderThread: progress name = [ohos.samples.backgrounddownload], get AGPService failed!

E/: logPower_buf_write not support

E/libdnetwork: GetLocalBasicInfo: get hwddmp service failed

E/AGP: BF:AGPWindow OnTop fail

E/: [ZeroHung]ZrhungIoctl: open /dev/hwlog_exception failed

E/: [ZeroHung]zrhung_get_config: Get config failed for wp[0x0008]

E/AGP: VsyncSchedulerAndroid:can not find method postRenderThreadInfo.

E/: logPower_buf_write not support

E/RtgIoctl: RtgIoctl invalid path

E/EGL_emulation: eglQuerySurface 313d EGL_BAD_ATTRIBUTE

E/: logPower_buf_write not support

E/: [ZeroHung]ZrhungIoctl: open /dev/hwlog_exception failed

[ZeroHung]zrhung_get_config: Get config failed for wp[0x0008]

更多关于HarmonyOS 鸿蒙Next mac 系统demo启动提示日志失败的实战教程也可以访问 https://www.itying.com/category-93-b0.html

3 回复

现在是什么现象,demo运行报错还是本地模拟器运行时报错!

更多关于HarmonyOS 鸿蒙Next mac 系统demo启动提示日志失败的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html


开发者您好,相关问题已经反馈给工作人员,稍后会再回复您,感谢您对华为开发者论坛的支持。

针对HarmonyOS(鸿蒙)Next在mac系统demo启动提示日志失败的问题,可能的原因及解决方案如下:

  1. 环境配置问题:确保你的mac系统已经安装了所有必要的开发工具和依赖库,特别是与鸿蒙开发相关的SDK和环境配置。检查是否有遗漏或配置错误。

  2. demo代码问题:检查demo代码是否完整,特别是日志相关的部分。有时候代码中的小错误或者遗漏会导致日志启动失败。

  3. 权限问题:在mac系统上运行鸿蒙demo可能需要特定的权限。确保你的用户账户有足够的权限来执行相关操作,或者尝试使用管理员权限运行demo。

  4. 系统兼容性问题:鸿蒙系统可能与你当前的mac系统版本不完全兼容。查看鸿蒙官方文档,确认你的mac系统版本是否在支持的范围内。

  5. 日志系统问题:鸿蒙的日志系统可能存在问题或者与mac系统的日志系统不兼容。检查鸿蒙的官方论坛或者社区,看看是否有其他开发者遇到并解决了类似的问题。

如果以上方法都不能解决问题,那么可能是更深层次的系统或者代码问题。此时,建议直接联系鸿蒙的官方客服寻求帮助。官网客服地址是:https://www.itying.com/category-93-b0.html 如果问题依旧没法解决请联系官网客服。

回到顶部