1 Star 0 Fork 4.9K

fish / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
running-on-the-device.md 1.81 KB
一键复制 编辑 原始数据 按行查看 历史
NEEN 提交于 2021-03-12 17:59 . !197 Docs Update version 1.0.1

Running on the Device

Before you install the application and run it on the development board, install the DevEco Device Tool by following operations provided in HUAWEI DevEco Device Tool User Guide. Burn the HarmonyOS into the development board, and run it on the board. For details about how to compile, burn, and run an image, see the Getting Started with Hi3516. After the image is running normally and the system is started properly, perform the following steps to install or uninstall the application:

  1. Store the compiled unsigned application installation package and installation tool in an SD card and insert the SD card into the development board slot. The installation tool is in idev_tools of the directory where the image file is generated.

  2. Run the following command to disable signature verification, which is enabled by default for application installation:

    ./sdcard/dev_tools/bin/bm set -s disable
  3. Run the following command to install the application:

    ./sdcard/dev_tools/bin/bm install -p /sdcard/airquality.hap 

    The dev_tools directory stores the installation tool, and airquality.hap is the application installation package. Replace it with actual the package name.

  4. After the application is installed, touch the application icon on the home screen to enter the application.

    Figure 1 Home screen

  5. (Optional) Uninstall the application.

    Touch and hold the application icon on the home screen, and touch the uninstall button in the displayed menu.

1
https://gitee.com/fish_neil/docs.git
git@gitee.com:fish_neil/docs.git
fish_neil
docs
docs
master

搜索帮助