Software:DevEco Studio

From HandWiki
Short description: Integrated development environment for the HarmonyOS platform
DevEco Studio
Devecostudioicon.png
Developer(s)Huawei, JetBrains
Stable release
3.1.0.501 (3.1.1 Stable Release - China) / April 8, 2023; January 2024 (Global) [1]
Preview release
DevEco Studio 4.0 Canary / October 26, 2023
Written inC, C++, Java, JS, eTS, ArkTS, and Cangjie[2]
Operating systemMicrosoft Windows, macOS
Size890M to 1040M MB
TypeIntegrated development environment (IDE)
LicenseBinaries: Freeware, Apache License
Websitedeveloper.harmonyos.com/en/develop/deveco-studio

DevEco Studio is the official[3] integrated development environment (IDE) for Huawei's HarmonyOS operating system, built on JetBrains' IntelliJ IDEA software and Huawei's SmartAssist designed specifically for HarmonyOS development. It is available for download on Microsoft Windows and macOS based operating systems.

DevEco Studio was launched on September 9, 2020, a day before Huawei Developer Conference 2020 (HDC 2020) as the first stable build starting from version 1.0 for Huawei Vision TVs on HarmonyOS 1 and HarmonyOS 2 Beta versions for phones, tablets and watches.[4]

On July 8, 2022, after the following release of DevEco Studio 3.0 Beta 4 JS/eTS replaced Java as Huawei's preferred language for HarmonyOS app development since HarmonyOS .hap module .app file packaged apps don't support Java language on API8 for HarmonyOS 3.0 [5] as Huawei plans to release its own Cangjie programming language in Q4 2024 for HarmonyOS which is equivalent to Google's Kotlin for Android platforms and Apple's Swift for Apple platforms.[6] Java is still supported, as is C++ on older API level versions of the previous versions of HarmonyOS 2.0. The new IDE update came with in-house Hvigor developed by Huawei that replaced Java based Gradle on 1.0, which is a new front-end lightweight construction tool based on TS. Combined with the npm package management mechanism, it mainly provides key capabilities such as task management mechanism, task registration and scheduling, project model management, configuration management, and new command line entry, which is more in line with OpenHarmony development tools for TS/JS developers.[7]

On April 8, 2023, Huawei DevEco Studio rolled out the 3.1 API 9 release version for the developers that contains HarmonyOS 3.1 SDK that debuts the refined eTS language as ArkTS, Huawei's forked TypeScript programming language for more advanced apps, with the new structure of the HarmonyOS App package file format after built and packaged in a stage model. DevEco studio 3.1 was under beta for the past 6 months prior. DevEco Studio 3.1.1 was launched outside China to global markets in January 2024. [8]

Features

The following features are provided in the current stable version: HarmonyOS DevEco Studio 2.1 current version released June 2, 2021 on HarmonyOS 2 launch has cross-device project templates, atomic service development and more on support for building TV, smartphones, tablets, watches, routers, IoT devices.

New cross-device engineering template

  • The new version of DevEco Studio comes with new 11 cross-device project templates founded on the original single-device project template. The developer can select the template and device type in sequence for a particular project.
  • Easier to create cross-device projects for the developers, and automatically produce example codes and related supplies.

Support for atomization service development

  • DevEco Studio 2.1 version added the support for atomic service developments to explore its scope in the coming days. Now the process became easier to quickly complete the atomic service project.
  • The developer only has to select the desired project template, perform the coding development process, after that, the code compilation, and at last the debugging test.
  • The project creation menu has several major changes in the latest version. In the current version, developers have to select the project template first, and then select the supported device type.
  • A new “Service” option has been installed in the project type, used in creating an atomic service project.
  • The “Show in Service Center” button will help in finding the service center of the device during creating the atomic project.

Support for router devices

  • After installation of the DevEco Studio 2.1 version, developers can JS language to quickly develop applications that can run on router devices. The new release has a router single device project template to provide support for routers.

As of now, the DevEco Studio provides supports for eight kinds of different mechanisms. It includes smartphones, tablets, automotive machines, smart screens, smart wearables, lightweight smart accessories, smart vision, and routers.

Support Sample Project Import

  • The HarmonyOS sample application is used by the IDE developers for a fast understanding of or application areas of various APIs. It makes easier to create designs and build the application quickly.
  • The new version of this development tool supports sample project import that allows developers to automatically import the Sample project into DevEco Studio. Developer can access sample projects codes via the “Import HarmonyOS Sample” button.

A new distributed simulator

  • The DevEco Studio 2.1 has been com with a new distributed simulator with more enhanced functions. It's one of the important remote emulators, which demand login permission in the iteration of each hour. If the session has been expired, it inevitably asks for the re-request/login for the session. This distributed simulator helps the developers to test the distributed functions of an application.

This current release has been fixed issues that occurred in previous version, also enhanced the existing features.

Enhanced features and Fixed Issues

Optimize the download of HarmonyOS SDK: When DevEco Studio is installed for the first time, Java SDK, JS SDK, Toolchains, Previewer will be downloaded by default Enhanced application signature capabilities: support for commissioning application automation signatures, and support for storing application signature information through configuration files Java editor capability enhancement: through the integration of HuaweiCloud SmartAssist to provide smarter code completion capabilities Previewer capability enhancement: support XML file preview under qualifier directory, previewer image transmission, real-time preview performance optimization Service Widget enhancement: support card development for Wearable devices, and add multiple card templates Compilation and construction Performance: improve the compilation and construction speed of Hap/App Display Optimisations: improved HiLog log output results, and support filtering Har supports: C++ shared library construction and use.

Once an HarmonyOS app has been compiled with DevEco Studio, it can be published on Huawei AppGallery. Like with Android apps on Android Studio for Huawei's AppGallery, HarmonyOS applications has to be in line with Huawei AppGallery Review Guidelines.

DevEco Service

DevEco Service provides feature-packed cloud service center that allows developers to experience a wide range of development scenarios online, share development resources, and test your applications and services in a comprehensive way, within 24/7 remote laboratory environments. You'll get access to key insights when developing and releasing premium products. It includes the DevEco Marketplace.[9]

DevEco Marketplace

The DevEco Marketplace which was launched on September 25, 2021 that allows developers access to various development resources here including native libraries, third-party libraries, sample codes, and more., which can make app development of Super Device hardware and atomic services easier to implement into native based HarmonyOS apps.

HarmonyOS DevEco Marketplace polymerization a wealth of ecosystem resources development kits, enabling developers to easily obtain the resources needed one-stop, easy to complete the development of Hong Meng-chi of hardware, atomic services, and applications.

The DevEco Marketplace website divides resources into two categories, which are displayed on the following two pages: “Device Components” page: Resource library for device developers, providing release and component package resources.

The marketplace includes System Bundles such as a wide array of system capabilities such as kernel, drivers, and service framework bundles. Atomic Services section that includes in typical scenarios which includes security, multimedia, and network atomic services. Project Templates section that includes Application development project templates for Super Device and various devices, covering various typical industry use cases and Code Samples of API code samples and typical scenarios for HarmonyOS apps.[10]



Version history

The following is a list of DevEco Studio's major releases:

Version Release date
1.0 September 2020
2.1 June 2021
3.0 (Beta) September 2022
3.0 (China) September 2022
3.1 (Canary) November 2022
3.1.1 (China), Globe April 2023; January 2024
4.0 (Canary) October 2023
4.0 Next DP1 (China) Closed Aug 2023, Oct 2023 (OHOS API 9), Jan 2024 open Dev Prev
4.0 Dev Beta (China) Q2 2024
4.0 Stable (China); Globe Q4 2024; TBA [11]

System requirements

Basic system requirements for DevEco Studio[12]
Microsoft Windows Mac
Operating System Version Microsoft Windows 10 (64-bit) MacOS 10.15 (Catalina) or higher
Random Access Memory (RAM) 8 GB or more
Free digital storage 100 GB of available disk space minimum or more
Minimum screen resolution 1280 x 800 minimum screen resolution

These features includes requirements for IDE + HarmonyOS SDK + HarmonyOS Emulator.[13]

References

  1. Li, Deng. "Huawei DevEco Studio 3.1 Release brings new features, enhancements and fixes". HC Newsroom. https://www.huaweicentral.com/huawei-deveco-studio-3-1-release-brings-new-features-enhancements-and-fixes/. 
  2. Amit. "Huawei to launch a self-developed programming language Cangjie next year". Huawei Update. https://www.huaweiupdate.com/huawei-to-launch-a-self-developed-programming-language-cangjie-next-year/. 
  3. Amit. "Huawei DevEco Studio 1.0 launched: EMUI 11 and Hongmeng Project App can be developed". Huawei Update. https://www.huaweiupdate.com/huawei-deveco-studio-1-0/. 
  4. Amit. "Huawei released DevEco Studio 2.1 Beta 3 with these 6 new changes". Huawei Update. https://www.huaweiupdate.com/huawei-released-deveco-studio-2-1-beta-3-with-these-6-new-changes/#:~:text=Huawei%20has%20officially%20launched%20the%20DevEco%20Studio%201.0,Huawei%E2%80%99s%201%2B8%2BN%20ecosystem%2C%20and%20distributed%20OS%20and%20more.. 
  5. Nehal, Rashid. "Huawei DevEco Studio 3.0 Beta4 released, fully supports HarmonyOS 3.0 JS / eTS application development". The Deep News Source. https://www.thedeepnewssource.com/2022/07/08/huawei-deveco-studio-3-0/. 
  6. Amit. "Huawei applied for new programming language trademark [Cangjie"]. Huawei Update. https://www.huaweiupdate.com/huawei-applied-for-new-programming-language-trademark-cangjie/. 
  7. Sarkar, Amy. "Huawei launched DevEco Studio 3.0 Beta 3 which supports OpenHarmony applications". HC Newsroom. https://www.huaweicentral.com/huawei-launched-deveco-studio-3-0-beta-3-which-supports-openharmony-applications/. 
  8. Li, Deng. "Huawei DevEco Studio 3.1 Release brings new features, enhancements and fixes". HC Newsroom. https://www.huaweicentral.com/huawei-deveco-studio-3-1-release-brings-new-features-enhancements-and-fixes/. 
  9. "DevEco Service". HarmonyOS Developer. https://developer.harmonyos.com/en/develop/deveco-service/. 
  10. "DevEco Marketplace". HarmonyOS DevEco Service. https://repo.harmonyos.com/#/en/home. 
  11. Matsui, Emiko. "HarmonyOS NEXT Galaxy stable rollout will begin in Q4 2024". HC Newsroom. https://www.huaweicentral.com/harmonyos-next-galaxy-stable-rollout-will-begin-in-q4-2024/. 
  12. "Download DevEco Studio and SDK tools" (in en). https://developer.harmonyos.com/en/develop/deveco-studio. 
  13. "Download DevEco Studio and SDK tools" (in en). https://developer.harmonyos.com/en/develop/deveco-studio.