HU
No Result
View All Result
  • Home
  • HarmonyOS
    • HarmonyOS History
  • EMUI Updates
    • EMUI History
  • News
    Huawei Mate 80 Pro

    Huawei Mate 90 Hardware Upgrades & INSPIRE 2026 Cloud News

    MTN Zambia and Huawei

    MTN Zambia and Huawei, have teamed up to fix a big problem

    Huawei & Angola Partner

    Huawei & Angola Partner for Smart Grid Transformation & Green Energy

    Huawei Mate 90 news

    Huawei Mate 90 Series Sales Date: Flagship Timeline Revealed Early

    Huawei Nova 16 Ultra

    Huawei Nova 16 Ultra launched with 200MP camera and 7000mAh battery

    Huawei Maextro S800 ultra

    Huawei Maextro S800 ultra luxury sedan outsells Mercedes Maybach in China

    Huawei Keyrus

    Huawei partners with Keyrus to scale data and AI tools in global markets

    Huawei Logo Image - Credit Unsplash

    Huawei Ascend chips reach major milestone in new DeepSeek AI update

    Huawei Gartner 2026 image

    Huawei Named Leader in 2026 Gartner Wired and Wireless LAN Infrastructure Magic Quadrant

    Trending Tags

    • Mate 50
    • P40
  • Send A Tip
  • Home
  • HarmonyOS
    • HarmonyOS History
  • EMUI Updates
    • EMUI History
  • News
    Huawei Mate 80 Pro

    Huawei Mate 90 Hardware Upgrades & INSPIRE 2026 Cloud News

    MTN Zambia and Huawei

    MTN Zambia and Huawei, have teamed up to fix a big problem

    Huawei & Angola Partner

    Huawei & Angola Partner for Smart Grid Transformation & Green Energy

    Huawei Mate 90 news

    Huawei Mate 90 Series Sales Date: Flagship Timeline Revealed Early

    Huawei Nova 16 Ultra

    Huawei Nova 16 Ultra launched with 200MP camera and 7000mAh battery

    Huawei Maextro S800 ultra

    Huawei Maextro S800 ultra luxury sedan outsells Mercedes Maybach in China

    Huawei Keyrus

    Huawei partners with Keyrus to scale data and AI tools in global markets

    Huawei Logo Image - Credit Unsplash

    Huawei Ascend chips reach major milestone in new DeepSeek AI update

    Huawei Gartner 2026 image

    Huawei Named Leader in 2026 Gartner Wired and Wireless LAN Infrastructure Magic Quadrant

    Trending Tags

    • Mate 50
    • P40
  • Send A Tip
No Result
View All Result
HUpdate
No Result
View All Result
Home Huawei News

Huawei DevEco Studio 2.1 Beta 2 released with 6 new updates

Min by Min
February 9, 2021
in Huawei News, News
0
Huawei DevEco Studio 2.1 Beta 2

Huawei DevEco Studio 2.1 Beta 2

161
SHARES
2k
VIEWS
Share on FacebookShare on Twitter

Huawei has officially launched the DevEco Studio 1.0 on the official website of Huawei Developers last September. HUAWEI DevEco Studio 1.0 supports developers to complete APP development, smart hardware device development for Huawei’s 1+8+N ecosystem, and distributed OS and more. By using DevEco Studio, developers can more efficiently develop applications with HarmonyOS distributed capabilities, thereby improving innovation efficiency.

On December 16, 2020, HUAWEI DevEco Studio released version 2.0 Beta 3. After two months, HUAWEI DevEco Studio and the 2.1 Beta 2 version have been now kicked off. What’s new in this latest beta?

READ ALSO

Huawei Mate 90 Hardware Upgrades & INSPIRE 2026 Cloud News

MTN Zambia and Huawei, have teamed up to fix a big problem

Mac version complete Java UI preview
In the process of developing HarmonyOS applications, developers can view the display effect of the UI interface through the previewer function provided by DevEco Studio. With the upgrade of the version, DevEco Studio 2.1 Beta 2 (Windows+Mac version) has supported the preview of the Java UI interface and the JS UI interface.

DevEco Studio 2.1 Beta 2 (Windows+Mac version) for JS applications, supports six device types: mobile phones, tablets, smart screens, smart wearables, lightweight smart wearables, and smart vision; for Java applications, it supports mobile phones, tablets, and cars , Smart screens and smart wearable devices.

Regarding the JS UI layout, developers can dynamically preview in real-time in the previewer after writing the code in HML/CSS/JS. The UI display effect is the same as when the application is running on a real machine.

For Java UI layout, developers can experience dynamic preview when previewing AbilitySlice.java or Ability.java file, and preview XML layout file to experience real-time preview.

Real-time preview: After modifying the UI file, you can view the UI display effect in real time in the previewer.

Dynamic preview: In the preview interface, interactive operations such as click events and sliding can be performed.

In addition, the development of distributed applications must meet the screen resolution, shape, and size requirements of different devices. In order to facilitate developers to view the UI layout and interaction effects of the application on different devices at any time during the application development process, DevEco Studio provides a cross-device preview function. However, it is worth noting that if the two devices support different encoding languages, the cross-device preview function cannot be used. For example, the Java language Phone application does not support running on Lite Wearable, because Lite Wearable does not support Java language .

Added 5 mobile phone project templates

DevEco Studio supports mobile phones, tablets, car machines, smart screen, smart wearable, lightweight smart wearable and smart vision. In order to facilitate the use of developers, DevEco Studio 2.0 provides Ability templates for multiple device types and different development languages.

DevEco Studio 2.1 Beta 2 adds 5 new phone project templates on the original basis. Developers can select appropriate templates according to the project wizard, easily create projects suitable for various devices, and automatically generate corresponding Code and resource templates.

Visualization of debugging variables for JS and C/C++

Aiming at pain points such as long code processing flow and deep error concealment, DevEco Studio 2.1 Beta 2 uses Plain (tree), Line (line graph), Bar (bar graph) and Table during JS or C/C++ code debugging. (Table), etc.

Provide application security testing services

DevEco Studio 2.1 Beta 2 provides application security testing services for HarmonyOS applications. Currently, it mainly supports two functions: vulnerability testing and privacy testing.

Vulnerability testing: Through the HarmonyOS application life cycle modeling and application attack surface modeling, static data flow analysis technology is used to improve the accuracy of vulnerability discovery, while covering more than 20 attack surfaces and 65 + vulnerability test items to help developers in advance Discover and identify potential vulnerabilities. The vulnerability detection report will give clear repair suggestions for each vulnerability risk item to help developers quickly repair vulnerabilities. The vulnerability testing service supports Java applications, and the package format includes Hap/App.

Privacy detection: By dynamically detecting and analyzing the privacy-sensitive behavior of the application running on the device, it helps developers to troubleshoot malicious behavior of the application and build a pure and green HarmonyOS application. The privacy test supports 17 + detections, including detection of obtaining geographic location information, detection of obtaining device identification, detection of obtaining address book information, detection of obtaining system information, etc. The privacy test service currently supports Java applications for TV devices, and the package format includes Hap/App.

Provide application automation testing services
In addition to application security testing services, DevEco Studio 2.1 Beta 2 also adds application automation testing services, including application compatibility, stability and performance testing, to detect possible applications in the entire life cycle of installation, startup, operation and uninstallation. Problem, check the application quality in all directions.

Compatibility test: Mainly verify the compatibility issues of the HarmonyOS application running on Huawei’s real device, including the first installation, reinstallation, startup, uninstallation, crash, black and white screen, flashback, operation error, failure to rollback, and top ten UI abnormalities Abnormal scene.

Stability test: Mainly verify the stability issues of the HarmonyOS application running on Huawei’s real device, including crash/application freeze screen, memory leak, and memory stepping. The stability test supports Java/JS applications of TV devices, and the package format includes Hap/App.

Performance test: Mainly verify the performance problems of the HarmonyOS application running on Huawei’s real device, including startup time, interface display, CPU usage and memory usage. The performance test supports Java/JS applications of TV devices, and the package format includes Hap/App.

Enhanced editor capabilities

For the C/C++ editor, DevEco Studio 2.1 Beta2 has made four enhancements:

  • Enhanced code completion function. In the writing application stage, the editor will analyze the context and understand the content of the project. According to the content entered by the developer, it will prompt the developer to complete the names of classes, methods, fields, and keywords, which greatly improves the coding efficiency.
  • For the names and variables of the macro definition, as well as the preprocessing path and prefix, developers are supported to customize the highlight color of their code, which is convenient for developers to distinguish different codes by color.
  • Support function jump from definition to declaration. When the code realizes the jump, the listed results will be distinguished by file name and display key code information.
  • Supports viewing of documents of display types, methods, functions, parameters, etc., which is convenient for developers to read the code.

For the JS editor, DevEco Studio 2.1 Beta 2 has made three optimizations:

  • The code completion function is enhanced, which is manifested in import optimization, suffix completion, and enhancement of annotation capabilities.
  • Code grammar enhancement: support ES6 grammar, Emmet grammar and Media Query conditional rules to automatically complete.
  • Code checking enhancement: duplicate variable and unused variable checking; automatic strikethrough display of referenced obsolete symbols, obsolete symbols can be marked by @deprecated in JS doc comments; support for spell checking of JS, HML, CSS codes, etc.

For the XML editor, DevEco Studio 2.1 Beta 2 has made two enhancements:

  • For the resources in the predefined Json/XML, it can dynamically associate and jump in real time.
  • In the XML layout file, use the tag to realize the dynamic data binding function between java and xml.

In addition to the above six functions, DevEco Studio 2.1 Beta 2 also solves three major user pain points:

  • Solved the problem of slow Gradle download during project synchronization. The new version integrates the Gradle tool so that developers no longer need to download the Gradle tool separately.
  • Added to view the preview log, you can view the log information during the preview process, and also support the switch between Chinese and English.
  • Solved the problem that the simulator does not support the display of the WebView control.

(Via)

Tags: DevEco Studio 2.1HuaweiHuawei DevEco Studio 2.1Huawei DevEco Studio 2.1 Beta 2Huawei News

Related Posts

Huawei Mate 80 Pro
Huawei News

Huawei Mate 90 Hardware Upgrades & INSPIRE 2026 Cloud News

June 5, 2026
MTN Zambia and Huawei
Huawei News

MTN Zambia and Huawei, have teamed up to fix a big problem

June 3, 2026
Huawei & Angola Partner
Huawei News

Huawei & Angola Partner for Smart Grid Transformation & Green Energy

June 2, 2026
Huawei Mate 90 news
Huawei News

Huawei Mate 90 Series Sales Date: Flagship Timeline Revealed Early

June 2, 2026
Huawei Nova 16 Ultra
Huawei News

Huawei Nova 16 Ultra launched with 200MP camera and 7000mAh battery

June 1, 2026
Huawei Maextro S800 ultra
Huawei News

Huawei Maextro S800 ultra luxury sedan outsells Mercedes Maybach in China

May 28, 2026

POPULAR NEWS

Huawei Health App Update

Huawei Health App Update 2026: New AI Features

July 15, 2026
Stable EMUI 12 2023

Updated EMUI 12 plan for Global users [January 2023]

January 19, 2023
Huawei EMUI 13 Eligible Devices

Huawei EMUI 13 Eligible devices for global market

March 22, 2023
Download and Install EMUI 10

Download and Install EMUI 10 on any Huawei phone

February 11, 2020
Huawei Music

Huawei Music Latest 2026 Update

May 28, 2026

EDITOR'S PICK

Huawei MatePad Pro 12.6 update

Huawei MatePad Pro 12.6 January 2024 security patch update

February 9, 2024
Huawei started battery replacement service

Huawei started battery replacement service

June 5, 2019
Huawei MediaPad M5 Lite

Huawei MediaPad M5 (10.1 inch) Youth Edition receiving May 2020 security patch update

June 5, 2020
Huawei P40 and P40 Pro getting EMUI 10.1.0.127 update

Huawei P40 and P40 Pro getting EMUI 10.1.0.127 update with camera and system optimization

May 7, 2020

About

HUpdate brings you the latest Huawei news, HarmonyOS & EMUI updates, firmware releases, and device coverage — all in one place. Stay updated with accurate, timely Huawei tech news.

Categories

  • Android
  • Ark OS
  • Deal
  • EMUI
  • EMUI 10
  • EMUI 10 Timeline
  • EMUI 10.1
  • EMUI 11
  • EMUI 12
  • EMUI 13
  • EMUI 14
  • EMUI 9.1
  • Game
  • Guides And How-To
  • Harmony OS 2
  • HarmonyOS 3
  • HarmonyOS 4
  • HarmonyOS 5
  • Hongmeng
  • Honor Products
  • Huawei 5G
  • Huawei Apps Apk
  • Huawei Mobile Services
  • Huawei News
  • Huawei Phones
  • Huawei Weekly Report
  • Magic UI 3
  • Magic UI 3.1
  • Magic UI 4.0
  • News
  • Tips And Tricks
  • Uncategorized
  • Updates

Recent Posts

  • Huawei Health App Update 2026: New AI Features
  • Huawei Mate 90 Hardware Upgrades & INSPIRE 2026 Cloud News
  • MTN Zambia and Huawei, have teamed up to fix a big problem
  • Huawei & Angola Partner for Smart Grid Transformation & Green Energy
  • About Us
  • Privacy Policy
  • Sitemap
  • Send A Tip

© 2026 HUpdate

No Result
View All Result
  • Home
  • HarmonyOS
    • HarmonyOS History
  • EMUI Updates
    • EMUI History
  • News
  • Send A Tip

© 2026 HUpdate

Go to mobile version