提交 194252fa 编写于 作者: E ester.zhou
上级 188dbbe6
...@@ -13,10 +13,12 @@ The following describes how to set up the Ubuntu environment. ...@@ -13,10 +13,12 @@ The following describes how to set up the Ubuntu environment.
## System Requirements ## System Requirements
- Ubuntu: Ubuntu 18.04 to 21.10; version 20.04 with 16 GB or larger memory is recommended - Ubuntu: Ubuntu 18.04 to 21.10; version 20.04 with 16 GB or larger memory and a 100 GB or larger hard disk is recommended
- User name (Ubuntu): cannot contain Chinese characters - User name (Ubuntu): cannot contain Chinese characters
- DevEco Device Tool: latest and same version installed on both Ubuntu and Windows
## Procedure ## Procedure
...@@ -28,6 +30,7 @@ The following describes how to set up the Ubuntu environment. ...@@ -28,6 +30,7 @@ The following describes how to set up the Ubuntu environment.
``` ```
![en-us_image_0000001226764302](figures/en-us_image_0000001226764302.png) ![en-us_image_0000001226764302](figures/en-us_image_0000001226764302.png)
2. Start the command-line tool, run the following command, enter your password, and select **No** to set **Ubuntu shell** to **bash**. 2. Start the command-line tool, run the following command, enter your password, and select **No** to set **Ubuntu shell** to **bash**.
```shell ```shell
...@@ -36,24 +39,24 @@ The following describes how to set up the Ubuntu environment. ...@@ -36,24 +39,24 @@ The following describes how to set up the Ubuntu environment.
![ubuntu-dash-to-bash](figures/ubuntu-dash-to-bash.png) ![ubuntu-dash-to-bash](figures/ubuntu-dash-to-bash.png)
2. Download the [DevEco Device Tool 3.0 Release](https://device.harmonyos.com/cn/ide#download) Linux edition. 2. Download the latest version of [DevEco Device Tool](https://device.harmonyos.com/cn/ide#download) for Linux.
3. Decompress the DevEco Device Tool software package and assign permission on the folder obtained from the decompression. 3. Decompress the DevEco Device Tool software package and assign permission on the folder obtained from the decompression.
1. Go to the directory where the DevEco Device Tool software package is stored and run the following command to decompress the software package. In the command, change **devicetool-linux-tool-3.1.0.300.zip** to the actual software package name. 1. Go to the directory where the DevEco Device Tool software package is stored and run the following command to decompress the software package. In the command, **devicetool-linux-tool-{Version}.zip** indicates the software package name.
```shell ```shell
unzip devicetool-linux-tool-3.1.0.300.zip unzip devicetool-linux-tool-{Version}.zip
``` ```
2. Open the folder of the decompressed software package and run the following command to grant the execute permission on the installation file. In the command, change **devicetool-linux-tool-3.1.0.300.sh** to the actual installation file name. 2. Open the folder of the decompressed software package and run the following command to grant the execute permission on the installation file. In the command, **devicetool-linux-tool-{Version}.sh** indicates the installation file name.
```shell ```shell
chmod u+x devicetool-linux-tool-3.1.0.300.sh chmod u+x devicetool-linux-tool-{Version}.sh
``` ```
4. Run the following command to install DevEco Device Tool, where **devicetool-linux-tool-3.1.0.300.sh** indicates the installation file name. 4. Run the following command to install DevEco Device Tool, where **devicetool-linux-tool-{Version}.sh** indicates the installation file name.
```shell ```shell
sudo ./devicetool-linux-tool-3.1.0.300.sh sudo ./devicetool-linux-tool-{Version}.sh
``` ```
5. On the page for agreeing to the user agreement and privacy statement, read and agree to the user agreement and privacy statement. You can scroll through the options by pressing the up and down arrow keys on the keyboard. 5. On the page for agreeing to the user agreement and privacy statement, read and agree to the user agreement and privacy statement. You can scroll through the options by pressing the up and down arrow keys on the keyboard.
......
...@@ -8,54 +8,36 @@ The following describes how to set up the Windows environment. ...@@ -8,54 +8,36 @@ The following describes how to set up the Windows environment.
## System Requirements ## System Requirements
- OS: 64-bit Windows 10 - Windows 10 (64-bit): 8 GB or larger memory and a 100 GB or larger hard disk recommended
- DevEco Device Tool: 3.1 Beta1 - DevEco Device Tool: latest and same version installed on both Windows and Ubuntu
## Procedure ## Procedure
1. Download the [DevEco Device Tool 3.1 Beta1](https://device.harmonyos.com/cn/ide#download) Windows edition. 1. Download the latest version of [DevEco Device Tool](https://device.harmonyos.com/cn/ide#download) for Windows.
2. Decompress the DevEco Device Tool package, double-click the installer, and then click **Next**. 2. Decompress the DevEco Device Tool package, double-click the installer, and then click **Next**.
3. Set the installation path for DevEco Device Tool and click **Next**. Make sure the path does not contain Chinese characters and is in a drive other than the C drive. 3. On the page shown, read the user agreement and privacy statement carefully and select **I accept the licenses** before proceeding to the next step.
![en-us_image_0000001326386753](figures/en-us_image_0000001326386753.png) 4. Set the installation path for DevEco Device Tool and click **Next**. Make sure the path does not contain Chinese characters and is **in a drive other than the C drive**.
4. When prompted, select the tools to be automatically installed.
1. On the **VSCode installation confirm** page, select **Install VS Code 1.62.2 automatically** and click **Next**. 5. Install the dependent tools by following the onscreen instructions.
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
>
> If Visual Studio Code 1.62 or later has been installed, this step will be skipped.
![en-us_image_0000001285965546](figures/en-us_image_0000001285965546.png) You can select **Install** or **Custom** as needed:
2. Select the Visual Studio Code installation path and click Next.
![select-vscode-path](figures/select-vscode-path.png) - **Install**: Install the software based on the default path and parameters.
- **Custom**: You can customize the installation path and other parameters before the installation.
2. On the displayed **Python select page**, select **Download from Huawei mirror** and click **Next**. After the installation is complete, the status of the dependent tools should be **OK**.
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
> 6. Click **Install** to install DevEco Device Tool.
> If Python 3.8 or 3.9 has been installed, select **Use one of compatible on your PC**.
![en-us_image_0000001285965778](figures/en-us_image_0000001285965778.png)
5. When the page shown below is displayed, click **Next**.
![en-us_image_0000001285806330](figures/en-us_image_0000001285806330.png)
6. On the page shown below, read the user agreement and privacy statement carefully and select **I accept the licenses** before proceeding to the next step.
![en-us_image_0000001275586896](figures/en-us_image_0000001275586896.png)
7. Wait for the DevEco Device Tool setup wizard to automatically install DevEco Device Tool. After the installation is complete, click **Finish** to close the setup wizard. 7. Wait for the DevEco Device Tool setup wizard to automatically install DevEco Device Tool. After the installation is complete, click **Finish** to close the setup wizard.
![en-us_image_0000001275267040](figures/en-us_image_0000001275267040.png)
8. From Visual Studio Code, access the DevEco Device Tool page. Now you can conduct your development in DevEco Device Tool. 8. From Visual Studio Code, access the DevEco Device Tool page. Now you can conduct your development in DevEco Device Tool.
![en-us_image_0000001338012765](figures/en-us_image_0000001338012765.png) ![en-us_image_0000001338012765](figures/en-us_image_0000001338012765.png)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册