Writy.
  • Home
  • HarmonyOS
    Huawei MatePad 10.4 2021 Stable HarmonyOS 2 Update

    Huawei MatePad 10.4 2021 gets Stable HarmonyOS update

    Huawei MatePad 10.4 2022

    Huawei MatePad 10.4 2022 getting May 2022 security update

    Play 4T Pro

    Honor 9X Series and Play 4T Pro getting April 2022 patch

    Huawei Nova 3i HarmonyOS 2.0.0.151

    Huawei Nova 3i HMOS 2.0.0.151 update brings 02/2022 patch and more

    Honor Play 2.0.0.150

    Honor Play 2.0.0.150 update brings February 2022 patch

    Huawei Mate 9 HarmonyOS 2.0.0.150 update

    Huawei Mate 9 getting HarmonyOS 2.0.0.150 update

    Huawei MatePad Pro HarmonyOS 2.0.0.241

    Huawei MatePad Pro grabbing HarmonyOS 2.0.0.241 new feature update

    Honor 20 Pro HarmonyOS 2.0.0.232

    Honor 20 and Honor 20 Pro getting April 2022 security update

    Honor 30 Pro and 30 Pro Plus

    Honor 30 Pro and 30 Pro Plus getting May 2022 security update

    Trending Tags

    • HarmonyOS 2
    • HarmonyOS 3
    • HarmonyOS History
  • EMUI 12
    Updated Huawei EMUI 12 plan for Global users 2022

    Updated EMUI 12 plan for Global users [May 25, 2022]

    Huawei P40 Pro May 2022 security update Middle East (1)

    Huawei P40 Pro Middle East users getting May 2022 patch

    Huawei P40 Pro May 2022 security update

    Huawei P40 Pro Europe users getting May 2022 security update

    Huawei EMUI 12 Russia and Middle East Plan Update Plan 2022

    Stable EMUI 12 update plan for Russia and Middle East [Updated: May 23, 2022]

    Huawei EMUI 12 India and Asia Plan 2022

    Stable EMUI 12 update plan for India and Asia Pacific Market [Updated: May 23, 2022]

    Huawei P30 Pro May 2022 patch

    Huawei P30 Pro getting May 2022 security update

    Huawei P40 Lite 5G April 2022 security patch

    Huawei P40 Lite 5G receiving April 2022 security patch update in Romania

    Huawei Mate 40 Pro EMUI 12 April 2022 patch

    May 2022 EMUI 12 security update rolling for Huawei Mate 40 Pro in Europe

    Huawei Nova 9 EMUI 12.0.1.235

    Huawei Nova 9 now receiving February 2022 patch update

    Trending Tags

    • EMUI 12
    • EMUI 11
  • EMUI 11
    • EMUI 10.1
    • Magic UI 3.1
    • EMUI History
  • News
    Huawei Smart Car News

    Huawei’s car wireless charging patent authorized

    Huawei MateBook D 16

    Huawei MateBook D 16 with i5-12500H / i7-12700H launched

    Huawei MateBook 14 and D14

    Huawei MateBook 14 and D14 launched: Up to i7-1260P

    Huawei MateView SE

    Huawei MateView SE display officially launched

    MateBook 16s

    Huawei’s new MateBook 16s launched, Starting at 9999 yuan

    Huawei 65-inch TV

    Huawei 65-inch TV is priced at only 1999 yuan on JD site

    Huawei Logo (11)

    Huawei Partner and Developer Conference 2022 official Announcement

    Huawei MateView GT Wallpaper

    Huawei MateView SE to be launched soon

    Huawei FreeBuds SE Global Launch

    Huawei FreeBuds SE launched globally

    Trending Tags

    • Mate 50
    • P40
    • Honor News
  • Huawei Apps
  • Tips And Tricks
  • Send A Tip
No Result
View All Result
HU
  • Home
  • HarmonyOS
    Huawei MatePad 10.4 2021 Stable HarmonyOS 2 Update

    Huawei MatePad 10.4 2021 gets Stable HarmonyOS update

    Huawei MatePad 10.4 2022

    Huawei MatePad 10.4 2022 getting May 2022 security update

    Play 4T Pro

    Honor 9X Series and Play 4T Pro getting April 2022 patch

    Huawei Nova 3i HarmonyOS 2.0.0.151

    Huawei Nova 3i HMOS 2.0.0.151 update brings 02/2022 patch and more

    Honor Play 2.0.0.150

    Honor Play 2.0.0.150 update brings February 2022 patch

    Huawei Mate 9 HarmonyOS 2.0.0.150 update

    Huawei Mate 9 getting HarmonyOS 2.0.0.150 update

    Huawei MatePad Pro HarmonyOS 2.0.0.241

    Huawei MatePad Pro grabbing HarmonyOS 2.0.0.241 new feature update

    Honor 20 Pro HarmonyOS 2.0.0.232

    Honor 20 and Honor 20 Pro getting April 2022 security update

    Honor 30 Pro and 30 Pro Plus

    Honor 30 Pro and 30 Pro Plus getting May 2022 security update

    Trending Tags

    • HarmonyOS 2
    • HarmonyOS 3
    • HarmonyOS History
  • EMUI 12
    Updated Huawei EMUI 12 plan for Global users 2022

    Updated EMUI 12 plan for Global users [May 25, 2022]

    Huawei P40 Pro May 2022 security update Middle East (1)

    Huawei P40 Pro Middle East users getting May 2022 patch

    Huawei P40 Pro May 2022 security update

    Huawei P40 Pro Europe users getting May 2022 security update

    Huawei EMUI 12 Russia and Middle East Plan Update Plan 2022

    Stable EMUI 12 update plan for Russia and Middle East [Updated: May 23, 2022]

    Huawei EMUI 12 India and Asia Plan 2022

    Stable EMUI 12 update plan for India and Asia Pacific Market [Updated: May 23, 2022]

    Huawei P30 Pro May 2022 patch

    Huawei P30 Pro getting May 2022 security update

    Huawei P40 Lite 5G April 2022 security patch

    Huawei P40 Lite 5G receiving April 2022 security patch update in Romania

    Huawei Mate 40 Pro EMUI 12 April 2022 patch

    May 2022 EMUI 12 security update rolling for Huawei Mate 40 Pro in Europe

    Huawei Nova 9 EMUI 12.0.1.235

    Huawei Nova 9 now receiving February 2022 patch update

    Trending Tags

    • EMUI 12
    • EMUI 11
  • EMUI 11
    • EMUI 10.1
    • Magic UI 3.1
    • EMUI History
  • News
    Huawei Smart Car News

    Huawei’s car wireless charging patent authorized

    Huawei MateBook D 16

    Huawei MateBook D 16 with i5-12500H / i7-12700H launched

    Huawei MateBook 14 and D14

    Huawei MateBook 14 and D14 launched: Up to i7-1260P

    Huawei MateView SE

    Huawei MateView SE display officially launched

    MateBook 16s

    Huawei’s new MateBook 16s launched, Starting at 9999 yuan

    Huawei 65-inch TV

    Huawei 65-inch TV is priced at only 1999 yuan on JD site

    Huawei Logo (11)

    Huawei Partner and Developer Conference 2022 official Announcement

    Huawei MateView GT Wallpaper

    Huawei MateView SE to be launched soon

    Huawei FreeBuds SE Global Launch

    Huawei FreeBuds SE launched globally

    Trending Tags

    • Mate 50
    • P40
    • Honor News
  • Huawei Apps
  • Tips And Tricks
  • Send A Tip
No Result
View All Result
HU
No Result
View All Result

Huawei DevEco Studio 2.2 Beta 2 released, SDK API 6 too

by Amit
September 15, 2021
in Huawei News
0
Huawei DevEco Studio 2.2 Beta 2

Huawei DevEco Studio 2.2 Beta 2

587
SHARES
3.3k
VIEWS
Share on FacebookShare on Twitter

Huawei has released a new version of DevEco Studio 2.2 Beta 2, with many new and enhanced features. At the same time, HarmonyOS SDK API6 Beta was officially upgraded to release after a round of iterations.

Upgrade Info:

You might also like

Huawei Smart Car News

Huawei’s car wireless charging patent authorized

May 24, 2022
Huawei MateBook D 16

Huawei MateBook D 16 with i5-12500H / i7-12700H launched

May 23, 2022

Open the installed historical version of DevEco Studio and select “Help> Check for Updates” to upgrade.

Download directly from the HarmonyOS official website:

https://developer.harmonyos.com/cn/develop/deveco-studio
Huawei DevEco Studio (referred DevEco Studio) to develop HarmonyOS applications and atomic service one-stop integrated development environment (IDE), providing a template for developers to create projects, development , Compile, debug, release and other functions.

1. New template market
In order to meet the development needs of multiple devices and multiple scenarios, DevEco Studio provides a wealth of engineering templates, covering mobile phones, tablets, car machines, smart screens, smart wearables, lightweight smart wearables, and smart vision. The project wizard easily creates projects suitable for all types of equipment, and automatically generates corresponding codes and resource templates.

This time the 2.2 Beta2 version, a new template market MarketPlace is added. The built-in templates in DevEco Studio only retain the basic business templates, and more templates will be launched to MarketPlace. Developers can go to MarketPlace to download more business templates they need.

Specific usage method:

1. Select “File> New> New Project” in DevEco Studio to enter the Create Project Wizard window, as shown in Figure 1.

Huawei DevEco Studio 2.2 Beta 2- 1

Figure 1 Create a project

2. Click “Template Market” in Figure 1 to enter the MarketPlace as shown in Figure 2 and download the template.

Huawei DevEco Studio 2.2 Beta 2- market

Figure 2 DevEco MarketPlace Resource Center

Second, the previewer adds custom functions
If you want to preview the interface effect during the development stage, you can use the previewer Previewer. In the previous version, Previewer only supported a few fixed-size canvases, which could not meet the needs of different screen resolutions.

In this version of 2.2 Beta2, Previewer has added a custom Profile Manager, which supports developers to customize the preview device Profile. You can set different resolution canvases and different languages ​​to view the preview display of HarmonyOS applications or atomic services on different devices. Effect. At the same time, Profile Manager also instantiated some common device types, including P40, Mate X2, MatePad pro, X1 car, Watch3.

Specific usage method:

After customizing the preview device in Profile Manager, click the preview device in Previewer to view the preview display effect of the HarmonyOS application or atomic service on the device.

Figure 3 shows the switch profile to view the preview display effect on different devices.

Huawei DevEco Studio 2.2 Beta 2- 3 image

Figure 3 Switch profile

 

Figure 4 shows the Multi-profile preview function, which allows you to view the preview display effects of multiple devices at the same time.

Figure 4 Multi-profile preview

Huawei DevEco Studio 2.2 Beta 2 - 4 image

3. Added support for differentiated distribution of multiple entries on the same device
Because there are many types of devices, the resolution is not uniform, and the versions are different. In response to these differences, the previous DevEco Studio version required developers to adapt and develop different models of the same type of device, and then achieve precise distribution in the application market, so that consumers and users of different devices can get a better experience.

This 2.2 Beta2 version supports adding multiple Entry modules for the same type of device in the same project, and then configure distroFilter distribution rules in the config.json file of each Entry module to meet the differentiated distribution requirements of the same device.

The distroFilter distribution rule configuration code in the config.json file is as follows:

“module”: {… “distroFilter”: {“apiVersion”: {“policy”: “include|exclude” “value”: [5,6,7]}}}

(Swipe left and right to see more)

Four, HarmonyOS SDK API6 Release
HarmonyOS SDK API6 is upgraded to the Release version, the version number is 2.2.0.3, and the supporting compile and build plug-in is 2.4.5.5.

Compared with the previous version, the new version has no additions or changes in the interface content. But for the JS API, some interfaces that are unstable in the API6 Beta version can be used normally in this API6 Release version.

New features

Added template market.

The previewer adds custom functions.

Added support for differentiated distribution of multiple entries on the same device.

Added support for Java and C/C++ cross-language debugging capabilities. Developers can set a breakpoint at any line of code in Java or C/C++, and when the business logic is executed to the corresponding line of code, it can be interrupted at the breakpoint.

The HarmonyOS cloud test service has added power consumption testing capabilities, which can verify the power consumption of HarmonyOS applications and atomic services running on Huawei real devices, including screen occupation time, WLAN occupation time, and audio occupation time.

Enhanced features

In the project creation wizard, some templates support previewing template effects.

The previewer adds the ability to preview the expanded state of the Mate X2 folding screen.

The preview of the service card supports three sizes: Extremely Narrow (Minimum), Standard (Default) and Extremely Wide (Maximum).

JS and Java cross-language debugging supports FeatureAbility subscription scenarios and distributed FA scenarios.

JS debugging capabilities enhanced:

Support Restart Frame (supported by Phone and Tablet devices)

Hover, Inline Values, Set Value and abnormal breakpoint functions (not supported by TV and Wearable devices)

The HarmonyOS application testing framework function supports simultaneous running of Java and JS test tasks in a mixed Java and JS project.

JS/CSS/HML editor ability enhancement:

Support JS/CSS/HML breadcrumb navigation function

Support the automatic completion and jump of the json file field in the HML file in the card template

Support JS file to view code structured view

Fixed problem

Fixed the problem that the auto-completion function is abnormal after entering the value when the attribute value is a numeric attribute in the hml file.

Fixed the problem that the Run window displayed that the package was successfully pushed, but the installation was not successful when the package was pushed to install an unsigned application on the real router device.

Fixed the problem that when using the Wearable real machine and the simulator to run the JS test framework for single-step debugging, you need to click the Resume Program twice to enter the next breakpoint.

Fixed the problem that the time displayed in the preview interface is inconsistent with the time set in the code when previewing the Clock component.

Fixed the problem that in the macOS version, if you did not set a breakpoint in app.js, you could not enter the index.js breakpoint.

Fixed the problem that Wearable and TV debugging does not support ES6 Symbol type.

Fixed the issue that DevEco Studio freezes when opening the xml file in resources.

Fixed the problem that HiLog may not print logs normally.

(Via)

Tags: DevEco StudioDevEco Studio 2.2 Beta 2HarmonyOS SDK API6 BetaHuaweinews
Share235Tweet147ShareShareSend
Amit

Amit

I write about Huawei Latest News, EMUI Updates & more. I am also a fitness freak. For any information, tip or help send me an email at huaweiupdatenews@gmail.com

Recommended

Huawei MateView GT Wallpaper

Huawei MateView SE to be launched soon

May 23, 2022
Huawei MateBook 14 and D14

Huawei MateBook 14 and D14 launched: Up to i7-1260P

May 23, 2022

Popular Story

  • Updated Huawei EMUI 12 plan for Global users 2022

    Updated EMUI 12 plan for Global users [May 25, 2022]

    2339 shares
    Share 936 Tweet 585
  • Download the latest Huawei Health 12.1.4.330 APK

    1388 shares
    Share 555 Tweet 347
  • May 2022 HarmonyOS and EMUI updates

    787 shares
    Share 315 Tweet 197
  • Download Huawei FM Radio 10.3.4.300 APK

    705 shares
    Share 282 Tweet 176
  • Download Huawei Petal Maps version 2.5.0.303(002) APK

    884 shares
    Share 354 Tweet 221

At HuaweiUpdate.com, you/users will get complete information of Huawei news, Huawei's new product launch, EMUI update news, and How-to guides.

  • About Us
  • Privacy Policy
  • Sitemap
  • Send A Tip

Copyright © 2022 HU

No Result
View All Result
  • Home
  • HarmonyOS
    • HarmonyOS History
  • EMUI 12
  • EMUI 11
    • EMUI 10.1
    • Magic UI 3.1
    • EMUI History
  • News
    • Honor News
  • Huawei Apps
  • Tips And Tricks
  • Send A Tip

Copyright © 2022 HU