![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HarmonyOS
HarmonyOS开发
JavonPeng
提得起,放得下,提放自如,方是自在人
展开
-
【HarmonyOS】BearPi-HM Nano学习笔记目录
BearPi-HM Nano学习笔记目录BearPi-HM Nano学习笔记(1)——HarmonyOS开发资源记录BearPi-HM Nano学习笔记(2)——HarmonyOS开发环境搭建[Linux篇]@源码获取与编译BearPi-HM Nano学习笔记(3)——HarmonyOS环境搭建[Windows篇]@映射与烧录...原创 2020-12-25 02:14:33 · 282 阅读 · 0 评论 -
BearPi-HM Nano学习笔记(3)——HarmonyOS环境搭建[Windows篇]@映射与烧录
一、准备开发工具用途获取途径RaiDrive映射虚拟驱动器工具https://forspeed.rbread05.cn/down/newdown/5/28/RaiDrive.rarHUAWEI DevEco Device ToolIDE开发工具,支持WLAN 模组的代码编写、远程编译、版本烧录、串口调试等功能https://device.harmonyos.com/cn/ideSecureCRT、MobaXterm或其他超级终端远程或串口终端https://w原创 2020-12-25 01:31:15 · 722 阅读 · 2 评论 -
BearPi-HM Nano学习笔记(2)——HarmonyOS开发环境搭建[Linux篇]@源码获取与编译
开发工具用途获取途径Python3.7+编译构建工具https://www.python.org/ftp/python/3.8.5/Python-3.8.5.tgzSCons3.0.4+编译构建工具通过互联网获取bash命令处理器通过互联网获取gn产生ninja编译脚本https://repo.huaweicloud.com/harmonyos/compiler/gn/1523/linux/gn.1523.tarninja执行ninja编译脚本...原创 2020-12-23 11:44:41 · 812 阅读 · 2 评论 -
BearPi-HM Nano学习笔记(1)——HarmonyOS开发资源记录
HarmonyOS设备开发官网:https://device.harmonyos.com/cn/home开发工具下载:HUAWEI DevEco Device Tool工具使用指南:HUAWEI DevEco Device Tool使用指南鸿蒙OS开发板BearPi-HM_Nano(Hi3861)开源地址小熊派HarmonyOS 鸿蒙·季 开发视频教程BearPi-HM_Nano 开发板快速入门BearPi-HM Nano 十分钟上手教程BearPi-HM_Nano开发板介绍BearPi-H原创 2020-12-25 02:05:19 · 1076 阅读 · 0 评论 -
【HarmonyOS】BearPi-HM Nano 十分钟上手教程
一、准备工作准备一台电脑: 无具体要求,家用即可,Windows系统 二、开始下载 下载官方提供镜像: 下载地址(百度云):https://pan.baidu.com/s/1T0Tcl3y48C1p5L6y-6HJNg提取码:eusr 下载虚拟机VMware Workstation: VMware Workstation 12:版本12及以上,具体可以百度。 下载MobaXterm工具 无具体要求,具体下载可以百度。 下载RaiDrive工具 .转载 2020-12-22 23:04:07 · 950 阅读 · 0 评论 -
【问题解决】Linux下SFTP连接“由于目标计算机积极拒绝,无法连接”
问题:原因:Linux系统没有安装SSH解决:安装SSH:sudo apt-get install openssh-server原创 2020-12-25 00:27:06 · 2604 阅读 · 0 评论 -
【问题解决】ImportError: cannot import name ‘_counter‘ from ‘Crypto.Util‘
问题:执行hpm dist编译的时候报错:FAILED: obj/vendor/hisi/hi3861/hi3861/run_wifiiot_scons_build_ext_components.txt python ../../build/lite/build_ext_components.py --path=../../vendor/hisi/hi3861/hi3861 --command=sh\ hm_build.sh/usr/lib/scons/SCons/Defaults.py...原创 2020-12-24 20:14:48 · 2647 阅读 · 4 评论 -
【问题解决】执行npm install -g @ohos/hpm-cli 出错
问题:执行npm install -g @ohos/hpm-cli 报以下错误:npm WARN deprecated @babel/polyfill@7.12.1: ???? This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs原创 2020-12-24 18:17:28 · 5610 阅读 · 5 评论 -
【问题解决】subprocess.CalledProcessError: Command ‘(‘lsb_release‘, ‘-a‘)‘ returned non-zero exit status 1
问题:ERROR: Exception:Traceback (most recent call last): File "/usr/local/python/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 188, in _main status = self.run(options, args) File "/usr/local/python/lib/python3.8/site-packa.原创 2020-12-23 10:40:15 · 41396 阅读 · 14 评论 -
【问题解决】You are using pip version 8.1.1, however version 20.3.3 is available.
问题:You are using pip version 8.1.1, however version 20.3.3 is available.You should consider upgrading via the 'pip install --upgrade pip' command.解决:sudo pip3 install --upgrade pip原创 2020-12-21 00:36:44 · 5021 阅读 · 0 评论 -
【问题解决】SCons version 2.4.1 does not run under Python version 3.8.0.
问题:编译的时候发现报错,编译失败:scons: *** SCons version 2.4.1 does not run under Python version 3.8.0.Python 3 is not yet supported.Traceback (most recent call last): File "../../build/lite/build_ext_components.py", line 64, in <module> sys.exit(main())原创 2020-12-21 00:02:34 · 1564 阅读 · 1 评论 -
Linux(ubuntu18.04)安装 python3,多版本管理与切换
ubuntu 18.04 自带 python 基础版本:`python 2.7.17`、`python 3.6.9`原创 2020-12-20 01:56:57 · 2695 阅读 · 3 评论 -
【问题解决】Error: Can‘t find compiler riscv32-unknown-elf-gcc
PS Y:\BearPi-HM_Nano> python build.py BearPi-HM_NanoError: Can't find compiler riscv32-unknown-elf-gcc, install it pleaseYou can visit https://device.harmonyos.com/cn/docs/start/introduce/oem_start_guide-0000001054913231 for more infomation原创 2020-12-19 23:27:43 · 4042 阅读 · 10 评论 -
【问题解决】ssh: connect to host 192.168.0.104 port 22: Connection refused
问题:ssh pjw@192.168.0.104ssh: connect to host 192.168.0.104 port 22: Connection refused原因:Linux系统没有安装 SSH解决:sudo apt-get install ssh原创 2020-12-19 23:12:02 · 1437 阅读 · 2 评论 -
【问题解决】Vscode报错 Error:Could not create the Java Virtual Machine
进入配置工程时,出现以下错误:Error:Could not create the Java Virtual Machinehttps://zhidao.baidu.com/question/240121483078990484.html原创 2020-12-19 22:34:30 · 32045 阅读 · 2 评论 -
【问题解决】无法加载文件 C:\Users\PJW\AppData\Roaming\npm\hpm.ps1,因为在此系统上禁止运行脚本
问题:PS Y:\BearPi-HM_Nano> hpm disthpm : 无法加载文件 C:\Users\PJW\AppData\Roaming\npm\hpm.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。所在位置 行:1 字符: 1+ hpm dist+ ~~~ + CategoryInfo : Se原创 2020-12-19 21:01:28 · 334 阅读 · 1 评论 -
【问题解决】无法将“hpm”项识别为 cmdlet、函数、脚本文件或可运行程序的名称
问题:PS Y:\BearPi-HM_Nano> hpm disthpm : 无法将“hpm”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。所在位置 行:1 字符: 1+ hpm dist+ ~~~ + CategoryInfo : ObjectNotFound: (hpm:String) [], CommandNotFoundException + FullyQualifiedErr原创 2020-12-19 20:20:58 · 848 阅读 · 1 评论 -
【问题解决】samba添加用户和密码时报错 Failed to add entry for user
出错:sudo smbpasswd -a xxxNew SMB password:Retype new SMB password:Failed to add entry for user bearpi.原因:这是因为没有加相应的系统账号,所以会提示Failed to add entry for user的错误,解决:samba使用当前系统账户增加相应的系统账号:groupadd xxx(用户名) -g 6000useradd xxx(用户名) -u 6000 -g 6000原创 2020-12-19 19:27:58 · 18680 阅读 · 8 评论