当前位置:网站首页>Download, installation and development environment construction of "harmonyos" deveco
Download, installation and development environment construction of "harmonyos" deveco
2022-07-07 18:13:00 【Starry Luli】
Author's brief introduction : One likes to write , Sophomore rookie of planning major
Personal home page :starry Lu Li
First date :2022 year 7 month 7 Thursday, Sunday
Last article :『HarmonyOS』 All things connected , Distributed operating system
Subscription column :『HarmonyOS』
Daily recommendation : Basic algorithm is a very important part in both graduate interview and job interview , Here we recommend an algorithm interview artifact : Cattle from - Interview artifact ; Algorithm problems can only be kept thinking and feeling by brushing more and more frequently , Let's move quickly ( reminder : The common interview question bank is also very nice Oh )
If the article helps you, remember to praise + Collect and support
『HarmonyOS』DevEco Download, install and build the development environment
1. The development of preparation
Apply to become a developer
It's going on HarmonyOS application / Before service development , Developers need to register a Huawei developer account . You can visit :https://www.harmonyos.com, Click on the top right corner to register , On the registration page , Select a mobile number or email address to register :
Developer real name authentication
After registration , Real name authentication is required , The real name authentication methods are divided into :“ Personal developer real name certification ” and “ Enterprise developer real name certification ”. The specific steps are :
- Select developer category : here Select individual developers ;
- Whether there are sensitive applications on the shelves : Select sensitive applications to be put on the application market ;
- Select the authentication method : Choose face recognition authentication or personal bank card authentication according to the actual situation ;
- Manage Pages : Enter the developer service management page for related configuration
2. Download and install DevEco Studio
HUAWEI DevEco Studio yes be based on IntelliJ IDEA Community Open source version make , One stop integrated development environment for terminal full scene multi devices (IDE), Support at the same time OpenHarmony and HarmonyOS application / service (Application/Service) Development . Provide developers with one-stop distributed applications / Service development platform , Support distributed multi terminal development 、 Distributed multiterminal debugging 、 Multi terminal simulation , Provide all-round quality and safety assurance .
Windows Operating environment requirements : To guarantee DevEco Studio The normal operation , It is recommended that the computer configuration meet the following requirements :
- operating system :Windows10 64 position
- Memory :8GB And above
- Hard disk :100GB And above
- The resolution of the :1280*800 Pixel and above
2.1HarmonyOS Official website
HUAWEI DevEco Studio and SDK Download and upgrade | HarmonyOS developer
DevEco Studio The compilation build of depends on JDK,DevEco Studio Preset Open JDK, Version is 1.8, It will be installed automatically during the installation process JDK.
- Get into HUAWEI DevEco Studio(https://developer.harmonyos.com/cn/develop/deveco-studio/) Product page , Click the button after the download list , download DevEco Studio.
Don't download this version , This version does not java Pattern ,OpenHarmony and HarmonyOS There is a difference .
2.2 install DevEco
When the download is complete , Double-click the downloaded “deveco-studio-xxxx.exe”, Get into DevEco Studio Installation wizard , Check... In the following installation options interface DevEco Studio after , Click on Next, Until installation is complete .
Click on next
Select installation location
create shortcut , Add environment variables
3. Configure environment variables
3.1SDK install
For the first time DevEco Studio, Need to download HarmonyOS SDK And corresponding tool chain . If it is not the first installation DevEco Studio,SDK For download and update methods, please refer to update HarmonyOS SDK.
download HarmonyOS SDK
Run the installed DevEco Studio, For the first time to use , Please select Do not import settings, Click on OK.
Get into DevEco Studio Operation wizard page , Set up npm registry,DevEco Studio The corresponding warehouse has been preset , Just click Start using DevEco Studio Go to the next step .
according to DevEco Studio The operation wizard guides you to download SDK, Default download OpenHarmony SDK. The default storage path is users Catalog , You can also choose any path that does not contain Chinese characters , And then click Next.
In the pop-up SDK Download information page , Click on Next, And in the pop-up License Agreement window , Click on Accept Start the download SDK.
wait for OpenHarmony SDK And tools download completed , Click on Finish, The interface will enter DevEco Studio The welcome page
Click... On the welcome page Configure( or  Icon ) > Settings > SDK Manager > HarmonyOS Legacy SDK, And then click Edit Set up HarmonyOS SDK Storage path .
Set up HarmonyOS Legacy SDK Location Storage path , And then click Next. Please note that , The path cannot be associated with OpenHarmony SDK The storage path is the same , Otherwise, it will lead to OpenHarmony SDK The file was deleted .
In the pop-up SDK Download information page , Click on Next, And in the pop-up License Agreement window , Click on Accept Start the download SDK.
When the download is complete , Click on Finish. Since then ,HarmonyOS SDK The installation is complete .
SDK By default, only the latest version will be downloaded Java SDK、JS SDK、Previewer and Toolchains, Click... On the welcome page above Configure( or  Icon ) > Settings > SDK Manager > HarmonyOS Legacy SDK, Get into HarmonyOS Legacy SDK page , Other components can be downloaded , Just check the corresponding component package , And then click Apply that will do .
3.2HDC To configure ( Optional )
HDC It's for developers to provide HarmonyOS application / Service Debugging tools , For ease of use HDC Tools , Please for HDC Set the environment variable with the tool and its port number .
Windows Environment variable setting method :
(1) On this computer > attribute > Advanced system setup > senior > In the environment variables , add to HDC The port variable name is :HDC_SERVER_PORT, The variable value is set to 7035.
HDC_SERVER_PORT
Similarly, create this port number in the system environment variable
(2) stay path variable , add to HDC Tool path ,HDC Tool path is :HarmonyOS SDK The installation directory /toolchains( The default path :C:\Users\admin\AppData\Local\Huawei\Sdk\toolchains), When the environment variable configuration is complete , Shut down and restart DevEco Studio.
Verify that the environment is configured successfully
thus HarmonyOS The development environment is set up , In the next chapter, we will create the first Hongmeng project and learn how to use local virtual machines and remote virtual machines , Pay attention
Daily recommendation : Basic algorithm is a very important part in both graduate interview and job interview , Here we recommend an algorithm interview artifact : Cattle from - Interview artifact ; Algorithm problems can only be kept thinking and feeling by brushing more and more frequently , Let's move quickly ( reminder : The common interview question bank is also very nice Oh )
边栏推荐
- The report of the state of world food security and nutrition was released: the number of hungry people in the world increased to 828million in 2021
- Tips for this week 134: make_ Unique and private constructors
- 数学分析_笔记_第11章:Fourier级数
- 手撕Nacos源码(先撕客户端源码)
- 三仙归洞js小游戏源码
- 五种网络IO模型
- 测试3个月,成功入职 “字节”,我的面试心得总结
- [principle and technology of network attack and Defense] Chapter 6: Trojan horse
- 性能测试过程和计划
- Debian10 compile and install MySQL
猜你喜欢
随机推荐
目标检测1——YOLO数据标注以及xml转为txt文件脚本实战
回归测试的分类
Five simple ways to troubleshoot with Stace
ICer知识点杂烩(后附大量题目,持续更新中)
原生js验证码
Ansible learning summary (9) -- ansible loop, condition judgment, trigger, processing failure and other task control use summary
Chapter 3 business function development (user login)
Run Yolo v5-5.0 and report an error. If the sppf error cannot be found, solve it
Click on the top of today's headline app to navigate in the middle
财富证券证券怎么开户?通过链接办理股票开户安全吗
Cartoon | who is the first ide in the universe?
Pro2:修改div块的颜色
万字保姆级长文——Linkedin元数据管理平台Datahub离线安装指南
深入浅出【机器学习之线性回归】
备份阿里云实例-oss-browser
mui侧边导航锚点定位js特效
js拉下帷幕js特效显示层
保证接口数据安全的10种方案
Mrs offline data analysis: process OBS data through Flink job
[principles and technologies of network attack and Defense] Chapter 3: network reconnaissance technology