当前位置:网站首页>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 )
边栏推荐
- MySQL index hit level analysis
- [PaddleSeg源码阅读] PaddleSeg Validation 中添加 Boundary IoU的计算(1)——val.py文件细节提示
- [trusted computing] Lesson 12: TPM authorization and conversation
- [principle and technology of network attack and Defense] Chapter 6: Trojan horse
- 基于RGB图像阈值分割并利用滑动调节阈值
- 深度学习机器学习各种数据集汇总地址
- 讨论 | AR 应用落地前,要做好哪些准备?
- Introduction to OTA technology of Internet of things
- [OKR target management] case analysis
- AI 击败了人类,设计了更好的经济机制
猜你喜欢
Mobile app takeout ordering personal center page
Automated testing: a practical skill that everyone wants to know about robot framework
[PaddleSeg源码阅读] PaddleSeg Validation 中添加 Boundary IoU的计算(1)——val.py文件细节提示
List selection JS effect with animation
Explain it in simple terms. CNN convolutional neural network
[4500 word summary] a complete set of skills that a software testing engineer needs to master
Import requirements in batches during Yolo training Txt
Simple loading animation
测试3个月,成功入职 “字节”,我的面试心得总结
线上比赛相关规则补充说明
随机推荐
Live broadcast software construction, canvas Text Bold
数学分析_笔记_第11章:Fourier级数
[principle and technology of network attack and Defense] Chapter 6: Trojan horse
Import requirements in batches during Yolo training Txt
Target detection 1 -- actual operation of Yolo data annotation and script for converting XML to TXT file
深入浅出【机器学习之线性回归】
Mobile pixel bird game JS play code
深度学习机器学习各种数据集汇总地址
[trusted computing] Lesson 10: TPM password resource management (II)
What is agile testing
Ansible learning summary (9) -- ansible loop, condition judgment, trigger, processing failure and other task control use summary
golang 客户端服务端登录
自动化测试:Robot FrameWork框架大家都想知道的实用技巧
Use seven methods to enhance all the images in a folder
zdog. JS rocket turn animation JS special effects
Tips for this week 140: constants: safety idioms
[OKR target management] case analysis
Deep learning machine learning various data sets summary address
目标检测1——YOLO数据标注以及xml转为txt文件脚本实战
Vscode three configuration files about C language