Huawei DevEco Studio 2.1 Beta 4 released

Huawei DevEco Studio 2.1 ushered in the Beta 4 version update. Compared with the 2.1 Beta 3 version, the new version adds service card development, provides code obfuscation, and updates the HarmonyOS SDK to version 2.1.1.20. The Stage is Release. Support application launch. At the same time, it fixes the remaining defects such as the low probability of Lenovo failure and performance lag.

Huawei DevEco Studio is a one-stop distributed application development platform for Huawei terminals in all scenarios and multiple devices. It is based on the IntelliJ IDEA Community open source version and is deeply customized and developed. Two versions are currently available: HUAWEI DevEco Studio 1.0 (for EMUI) and HUAWEI DevEco Studio 2.0 (for HarmonyOS).

New features:

New Service Card Development

Service card is the main form of information presentation of FA. Developers can display the FA data that users care about most in the card, and can open FA directly by clicking on the content of the card. DevEco Studio 2.1 Beta4 service card provides multiple types of templates. Developers can flexibly choose templates according to the type of information they need to display, and quickly build service cards.

Provide Code Obfuscation Feature

Use the ProGuard tool (ProGuard is an open-source Java code obfuscator) to obfuscate the source code of the Java files in the project. Use short and meaningless names (such as a, b, c, etc.) to reiterate classes, fields, and methods. name. While effectively reducing the size of the application, it also increases the difficulty of decompilation and protects the source code.

In DevEco Studio, the obfuscation function is turned off by default. If you need to turn on the obfuscation function, configure proguardEnabled to true in the module’s build.gradle file. In addition, DevEco Studio 2.1 Beta 4 also updated the HarmonyOS SDK to version 2.1.1.20, and the Stage is Release, which supports application launches. At the same time, DevEco Studio 2.1 Beta4 fixes a series of problems, and the experience is better.

Join Our Huawei & Honor Channel On Telegram

Solve The Following Problems:

  • Solve the problem that when configuring compileSdkVersion in the build.gradle script by means of public variables, the XML file under the layout may be red.
  • Solve the problem that the value of package input is not automatically associated in the visual configuration interface of config.json
  • Solve the problem of no input verification in the config.json visual configuration interface when there is a label for a required field in the form
  • Solve the problem of DevEco Studio stuck when opening HVD Manager for login authorization if HVD Manager is closed without authorization after login
  • Solve the problem that breakpoints cannot be entered when using Phone and Tablet emulators for Java debugging
  • Solve the problem of automatic association and jump failure when the CSS file has a large amount of code (for example, 2000 lines)
  • Solve the problem that after copying js pages in batches to the current project, the editor may fail to associate automatically

Download link:

https://developer.harmonyos.com/cn/develop/deveco-studio

If there is a problem during use, please visit the Huawei Developer Forum to discuss feedback:

Feedback Connection:

https://developer.huawei.com/consumer/cn/forum

If you like our news and you want to see such news even further, then follow RealMi Central on Telegram (RealMi Central, Xiaomi, Apple, Realme, RMC Gaming, Samsung, Microsoft, OnePlus, Huawei/Honor, Android 12), Twitter, Facebook (Page) (Group) & Instagram.

Leave a Comment