1 Star 0 Fork 5.2K

Cain / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
preparations.md 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-10 10:03 . update docs

Preparations

Building the Development Environment

Set up the environment by performing operations provided in Environment Setup of the DevEco Studio User Guide.

Creating a Project

The DevEco Studio provides only basic development functions. GUI preview and code commissioning will be provided in the next version.

Perform the following steps to create a project. Currently, projects of the smartVision type cannot be created directly.

  1. Start the DevEco Studio, choose File > Project and select Lite Wearable for Device and Empty Feature Ability for Template.

    Figure 1 Selecting project template

  2. After the creation is successful, modify the config.json file in entry > src > main.

    1. Change the value of "deviceType" to "smartVision".

    2. Add the "visible" attribute to the "abilities" array and set the attribute value to true.

      Figure 2 Modifying the template

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

搜索帮助

53164aa7 5694891 3bd8fe86 5694891