鸿蒙开发板Hi3861烧录报错?
各位高手:
我在hi3861开发板烧录时,出现如下错误,请问是什么原因?
> Executing task: c:\users\xiexg\.deveco-device-tool\core\deveco-venv\scripts\hos.exe run --target upload --project-dir \\10.5.183.68\HarmonyOS\ohos --environment hi3861 <
Processing hi3861 (platform: hisilicon; board: hi3861; framework: ohos-sources)
--------------------------------------------------------------------------------------------------------------------------------------------------Error: Traceback (most recent call last):
File "c:\users\xiexg\.deveco-device-tool\core\deveco-venv\lib\site-packages\platformio\__main__.py", line 108, in main
cli() # pylint: disable=no-value-for-parameter
......
UnicodeDecodeError: 'utf-8' Codec can't decode byte 0xd3 in position 32: invalid continuation byte
============================================================
An unexpected error occurred. Please report this error to
developers:
https://devecostudio.rnd.huawei.com/download/embedded-studio
============================================================
终端进程“c:\users\xiexg\.deveco-device-tool\core\deveco-venv\scripts\hos.exe 'run', '--target', 'upload', '--project-dir', '\\10.5.183.68\harmonyos\ohos', '--environment', 'hi3861'”已终止,退出代码: 1。
终端将被任务重用,按任意键关闭。
已解决。方法如下:
ubuntu samba服务器配置文件/etc/samba/smb.conf:
[global]
workgroup = WORKGROUP
unix charset = UTF-8
dos charset = cp936
https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/quick-start/Hi3861%E5%BC%80%E5%8F%91%E6%9D%BF.md
这个链接参看过了吗?
这个不知道是不是因为烧录路径中有ip地址的缘故,可以先排除一下。
就是将映射路径中的文件,拷贝出来放到一个本地的盘符,例如D盘,然后使用IDE工具重新打开一个本地的工程进行烧录。