当前位置:网站首页>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 )
边栏推荐
- Debian10 compile and install MySQL
- JS pull down the curtain JS special effect display layer
- Simple loading animation
- <代码随想录二刷>链表
- Tips for this week 131: special member functions and ` = Default`
- [tpm2.0 principle and Application guide] Chapter 1-3
- What skills can you master to be a "master tester" when doing software testing?
- [principles and technologies of network attack and Defense] Chapter 5: denial of service attack
- 2021-06-28
- zdog. JS rocket turn animation JS special effects
猜你喜欢
Chapter 3 business function development (safe exit)
Chapter 2 build CRM project development environment (database design)
[OKR target management] value analysis
Native JS verification code
上市十天就下线过万台,欧尚Z6产品实力备受点赞
使用OneDNS完美解决办公网络优化问题
[deep learning] 3 minutes introduction
【4500字归纳总结】一名软件测试工程师需要掌握的技能大全
漫画 | 宇宙第一 IDE 到底是谁?
Understanding of 12 methods of enterprise management
随机推荐
What skills can you master to be a "master tester" when doing software testing?
Simple loading animation
三仙归洞js小游戏源码
[principles and technologies of network attack and Defense] Chapter 3: network reconnaissance technology
AI defeated mankind and designed a better economic mechanism
SD_DATA_RECEIVE_SHIFT_REGISTER
科学家首次观察到“电子漩涡” 有助于设计出更高效的电子产品
MRS离线数据分析:通过Flink作业处理OBS数据
Interviewer: why is the page too laggy and how to solve it? [test interview question sharing]
Chapter 3 business function development (safe exit)
Yarn capacity scheduler (ultra detailed interpretation)
带动画的列表选中js特效
Deep learning machine learning various data sets summary address
Five simple ways to troubleshoot with Stace
Easy to understand [linear regression of machine learning]
[trusted computing] Lesson 12: TPM authorization and conversation
深度学习机器学习各种数据集汇总地址
机器人工程终身学习和工作计划-2022-
Tear the Nacos source code by hand (tear the client source code first)
Win11C盘满了怎么清理?Win11清理C盘的方法