DevEco Studio

From Wikipedia, the free encyclopedia

DevEco Studio
Developer(s)Huawei, JetBrains
Initial release9 September 2020; 3 years ago (2020-09-09)
Stable release
TBA/TBD 5.0 / 21 June 2024; 56 days' time (2024-06-21)
Preview release
DevEco Studio 4.1.3 Canary (macOS) / 2 April 2024; 23 days ago (2024-04-02)
Written inC, C++, Java, JS, eTS, ArkTS, and Cangjie[1]
Operating systemMicrosoft Windows, macOS, HarmonyOS, OpenHarmony, Oniro OS
Size890M to 1040M MB
TypeIntegrated development environment (IDE)
LicenseBinaries: Freeware, Apache License
Websitedeveloper.harmonyos.com/en/develop/deveco-studio

DevEco Studio is the official[2] 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.

History[edit]

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 in app development via Ark Compiler.[3]

DevEco Studio 2.1 was released on June 4, 2021 with cross-device project templates, atomic service development and other features with HarmonyOS 2.0 SDK for HarmonyOS 2 that was launched on June 2, 2021. On July 2021, Huawei launched sdkmgr, a new HarmonyOS SDK management tool.[4][5]

On July 8, 2022, after the following release of DevEco Studio 3.0 Beta 4 JS/eTS declarative programming development with ArkUI replaced imparative Java development as Huawei's preferred language for HarmonyOS app development since HarmonyOS .hap module of .app file packaged apps don't support Java language on API8 for HarmonyOS 3.0 [6] 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.[7] Java is still supported, as is C++ on older API level versions of the previous versions of HarmonyOS 2.0. The later 3.0 IDE update came with in-house Hvigor build tool developed by Huawei that replaced Java based Gradle on 1.0, which is a newer 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 and Oniro OS development tools for TS/JS developers that supports OpenHarmony SDK for OpenHarmony applications. Alongside faster UI preview on IDE in event driven app development.[8]

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. [9] AOT (Ahead Of Time) compilation on ArkCompiler Toolchain was introduced into DevEco Studio 3.1.1 with HarmonyOS 3.1 SDK and OpenHarmony 3.2 that allows the ability to compile bytecode into machine code that can be run on the target side (i.e., the device running the application) on the host side (i.e., the computer running DevEco Studio) in advance, so that the bytecode can be fully compiled and optimized, and it can be accelerated when it is put on the target side.[10]

Since August 4, 2023, DevEco Studio went through internal changes with HarmonyOS NEXT development based on OpenHarmony, with toolkits, compilers, new structural base for app development taking advantage of the full developer kit with HarmonyOS SDK like OpenHarmony SDK, that contains Enablement Kit. Alongside DevEco Studio Testing. By October 2023, Huawei internally updated it's DevEco Studio 3.2 retooled for HarmonyOS NEXT 3.1 SDK API 9 and 10 to 4.0 Canary builds SDK on internal DevEco Studio 4.1.3 IDE on API 12 for macOS Internal and registered external third-party selected partnered developers in China. January 18 2024, Huawei announced HarmonyOS NEXT ecology plan for Q2 Beta and Q4 commercialisation with internal shipment of upgraded DevEco Studio. By April 11, 2024, Huawei formally announced a new HarmonyOS NEXT Beta with a new DevEco Studio IDE 5.0 upgrade by June 2024, that was internally upgraded for external developers by April 2, 2024 through rigorous feedback from domestic Chinese developer community and maturity of developer tools.[11]

Previously, the models that could run were and above, that was only be used with emulators and the capabilities were limited. Those toolkits were upgraded to the development preview for devices such as Mate 40 Kirin 990, P50 Snapdragon, Mate 60, Mate 60 Pro and Mate X5 Kirin 9000s powered devices. It is reported that the previous IDE used on version 3.2 of DevEco Studio, use of ArkTS syntax is more matured and 5.0 version of the editor is syntactically rigorous and provides more complete and rich capabilities from API 9 to API 12 upgrade.[12]

Features[edit]

The following features are provided in the current stable version: HarmonyOS DevEco Studio 2.1 previous 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[edit]

  • 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[edit]

  • 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[edit]

  • 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[edit]

  • 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[edit]

  • 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 previous release has been fixed issues that occurred in previous version, also enhanced the existing features.

Enhanced features and Fixed Issues[edit]

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[edit]

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.[13]

DevEco Marketplace[edit]

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.[14]

DevEco Testing[edit]

DevEco Testing, a test services platform developed by Huawei. It is designed to provide professional test services to partners that are integrating with the HarmonyOS ecosystem. The system has been completely upgraded in order for it to share its professional testing capabilities with its ecosystem partners.

These are some of the services offered by DevEco Testing:

  • Security Testing: The service does security tests on device systems including software and hardware scanning, presenting results and expert advice.
  • Stability Testing: The service does stress tests via smart AI traversal, basic function scenario stress tests, typical problem stress tests which help identify stability issues, providing test reports and fault location logs.
  • Performance and Power Consumption Testing: It mimics real business scenarios, encapsulates hardware feature performance and power consumption into an overall performance power consumption score and monitors real-time performance power consumption data thereby helping in identifying bottlenecks in performance and power consumption among others.
  • Compatibility Testing: It offers multi-dimensional compatibility testing which provides compatibility test reports as well as execution logs helping identify software, hardware and experience compatibility issues before deployment.[15]

DevEco Certification Centre (DECC)[edit]

The DevEco Certification Centre (DECC), streamlines the testing process for the HarmonyOS Connect ecosystem. With its comprehensive lineup of certification test suites, partners within the ecosystem can easily run relevant tests and access top-notch certification testing services and laboratories. This streamlined approach enables partners to swiftly and effectively complete all required certification testing.[16]

Version history[edit]

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/4.1/4.1.3 DP1-5.0 DP2 (China) Closed Aug 2023, Oct 2023 (OHOS API 9-10), Jan 2024 open Dev Prev, Apr 2024 DP2
5.0 Beta (China); Globe Q2 - TBD June 2024 (API 11-12)[17]
5.0 Stable (China); Globe Q4 2024; TBA (API 12) [18]

System requirements[edit]

Basic system requirements for DevEco Studio[19]
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.[20]

References[edit]

  1. ^ Amit. "Huawei to launch a self-developed programming language Cangjie next year". Huawei Update. Huawei Update. Archived from the original on September 25, 2021. Retrieved September 25, 2021.
  2. ^ Amit. "Huawei DevEco Studio 1.0 launched: EMUI 11 and Hongmeng Project App can be developed". Huawei Update. Huawei Update. Archived from the original on November 28, 2020. Retrieved September 9, 2020.
  3. ^ Amit. "Huawei released DevEco Studio 2.1 Beta 3 with these 6 new changes". Huawei Update. Huawei Update. Archived from the original on April 1, 2021. Retrieved April 1, 2021.
  4. ^ Mishra, Yash. "HarmonyOS DevEco Studio 2.1 version added new cross-device project templates, atomic service development and more". HC Newsroom. HC Newsroom. Retrieved March 4, 2024.
  5. ^ Li, Deng. "Huawei launched sdkmgr, a new HarmonyOS SDK management tool". HC Newsroom. HC Newsroom. Retrieved March 4, 2024.
  6. ^ Nehal, Rashid. "Huawei DevEco Studio 3.0 Beta4 released, fully supports HarmonyOS 3.0 JS / eTS application development". The Deep News Source. The Deep News Source. Archived from the original on July 9, 2022. Retrieved July 8, 2022.
  7. ^ Amit. "Huawei applied for new programming language trademark [Cangjie]". Huawei Update. Huawei Update. Archived from the original on February 26, 2021. Retrieved February 26, 2021.
  8. ^ Sarkar, Amy. "Huawei launched DevEco Studio 3.0 Beta 3 which supports OpenHarmony applications". HC Newsroom. HC Newsroom. Retrieved January 20, 2024.
  9. ^ Li, Deng. "Huawei DevEco Studio 3.1 Release brings new features, enhancements and fixes". HC Newsroom. HC Newsroom. Retrieved January 18, 2024.
  10. ^ "Enable AOT compilation mode". HarmonyOS. HarmonyOS. Retrieved February 12, 2024.
  11. ^ Matsui, Emiko (April 11, 2024). "Huawei to launch HarmonyOS NEXT beta at HDC 2024 event in June". Huawei Central. Retrieved April 11, 2024.
  12. ^ "HarmonyOS Next 开发小记(项目源码分享) - 掘金". juejin.cn. Retrieved April 11, 2024.
  13. ^ "DevEco Service". HarmonyOS Developer. HarmonyOS Developer. Archived from the original on May 20, 2022.
  14. ^ "DevEco Marketplace". HarmonyOS DevEco Service. HarmonyOS DevEco Service. Archived from the original on June 11, 2022.
  15. ^ "DevEco Testing". DevEco Testing. DevEco Testing. Retrieved February 3, 2024.
  16. ^ "DevEco Certification Centre (DECC)". HarmonyOS. Huawei. Retrieved February 3, 2024.
  17. ^ Matsui, Emiko (April 11, 2024). "Huawei to launch HarmonyOS NEXT beta at HDC 2024 event in June". Huawei Central. Retrieved April 11, 2024.
  18. ^ Matsui, Emiko. "HarmonyOS NEXT Galaxy stable rollout will begin in Q4 2024". HC Newsroom. HC Newsroom. Retrieved January 18, 2024.
  19. ^ "Download DevEco Studio and SDK tools". HarmonyOS Developers. Archived from the original on July 8, 2022. Retrieved March 7, 2022.
  20. ^ "Download DevEco Studio and SDK tools". HarmonyOS Developers. Archived from the original on July 8, 2022. Retrieved July 8, 2022.