Running the Application on a Real Device
Install HDC
-
Find the pipeline whose name is ohos-sdk-full or ohos-sdk-public, click Download Link, and select Full Package.
Use conditional filtering: select projectopenharmony, branchOpenHarmony-5.1.0-Release, and a date from the previous month or a manual range.
Then find ohos-sdk-full_5.1.0-Release, and download the full package (Windows/Linux).
(If daily build SDK is not compatible with your DevEco Studio, try the rolling build SDK.)
-
Under the
toolchainfolder, locatehdc.exeandlibusb_shared.ddl.

-
Create a folder called
hdc_bin, and copyhdc.exeandlibusb_shared.dllinto it.

-
Add Environment Variable to your system:
- Open
Settingson Windows → search forEdit the system environment variables.
- In the
Advancedtab, clickEnvironment Variables....
- Edit
PathunderSystem variables, clickNew, and paste yourhdc_binpath.
- Open Command Prompt and run
hdcto verify installation.
Use Real Machine to Run Application with USB
-
Connect a development board (e.g.,
HiHope HH-SCDAYU200) running OpenHarmony standard system to your PC.
The device will appear at the top of DevEco Studio.

-
Generate signature:
- Click
Project Structure...→Project > Signing Configs→ checkAutomatically generate signature. - Click
Applyand wait until signature is generated.
-
You will find it in the
configurationfolder underbuild-profile.json5.

-
Click the
Run 'entry'triangle button in the IDE.

-
Your application will now run on the development board.

🎉 You’ve successfully installed HDC and deployed your first mobile application using DevEco Studio!