Questions tagged [deveco-studio]
28 questions
3
votes
1 answer
Not able to set the HarmonyOS SDK location. What to do?
After installed DevEco studio. I have to setting up a new project but, Showing following error
Here I am not able to set the HarmonyOS SDK location, How to set sdk location?

Shivam Jamaiwar
- 524
- 1
- 4
- 14
2
votes
1 answer
DevEcoStudio: Error after upgrading from SDK 5 to SDK6
I have upgraded HarmonyOS SDK from 5 to 6 in DevEcoStudio. I see SDK6 only under 'File -> Settings -> Appearance & Behavior -> System Settings -> HarmonyOS SDK'
Now, when I try to open a project with SDK 5, DevEco asks me the following -
After…

Kanak Sony
- 1,570
- 1
- 21
- 37
2
votes
2 answers
What is the alternative packages for R(android) to HarmonyOs and Displaymetrics to harmonyOS and some constants?
what should I do with the constants which are causing some problem.?
import static android.net.ConnectivityManager.TYPE_BLUETOOTH;
import static android.net.ConnectivityManager.TYPE_DUMMY;
import static…

MobPsycho
- 47
- 3
2
votes
2 answers
How to find the alternative class/method for harmonyOS in androidOs?
I am a fresher who works on HarmonyOS where we have to map android imports to respected to HarmonyOs using an excel sheet, which consists of alternative imports but some are missing in that Excel. where can I find all the alternative methods?

MobPsycho
- 47
- 3
2
votes
1 answer
Failed to create MD5 hash for file entry_debug_unsigned_entry.apk as it does not exist. in DevEco Studio HarmonyOS
I'm trying to build my HarmonyOS app. It was working fine when suddenly windows defender gave me a message that it had found a threat, and directly after I get an error message: Failed to create MD5 hash for file…

Aditya Nandardhane
- 915
- 1
- 8
- 22
2
votes
2 answers
JS component installation failed: While installing the JS sdk in DevEco studio
While installing the JS sdk in DevEco Studio, JS component installation failed with following error
How to solve above error?

Shivam Jamaiwar
- 524
- 1
- 4
- 14
2
votes
1 answer
App Launch: The Huawei Lite Simulator supports only Lite projects
When trying to run my test app on a HVD emulator, I get the following error message:
App Launch: The Huawei Lite Simulator supports only Lite projects.
Meanwhile I've realized, that currently one can only use hardware or a remote emulator for such…

Martin Zeitler
- 1
- 19
- 155
- 216
2
votes
1 answer
This device type does not match the module profile. Error while Deploying HAP
I've set up HUAWEI DevEco Studio with HarmonyOS SDK, but fail to launch a newly created project:
I'd suppose, that this might be a phone module, but I have tablet hardware.
How I can change that - or which modules are suitable for a "large screen"?

Martin Zeitler
- 1
- 19
- 155
- 216
1
vote
0 answers
Previewer not loading tag in DevEco Studion 3.0.0.900?
I was making some library functions for using the camera in OpenHarmony for the JS API. When I used the tag in the HML file, the Previewer couldn't load it. Moreover, DevEco Studio 3.0.0.900 doesn't support emulators, so I have no other way to test…

Ankit Oscar
- 11
- 1
1
vote
0 answers
Display QRCODE in deveco studio 2.1
QRCODE is not displayed in Previewer even if I write the index.hml file as shown below in deveco studio 2.1.
Please tell me what to do. The API Version is 5.
index.hml
{{ $t('strings.hello')…

sunao
- 61
- 3
1
vote
1 answer
Missing tags in DevEco Studio, HarmonyOS
I am using DevEco Studio 2.1.0.501 IDE. I want to create a simple LITE watch application for smart device.
1, Is there any way to use more languages like java or kotlin (I don't really like JS)? I came from Android Studio.
2, I want to use this…

lacas
- 13,928
- 30
- 109
- 183
1
vote
1 answer
Dev Eco Studio Build error : mirrors.tools.huawei.com: nodename nor servname provided, or not known
I used the VCS option to import a harmonyOs project from gitee to my Dev Eco Studio and the build failed due to the above errors , please help me resolve it
Gitee(link of the repo which i was trying to…

ajith m
- 31
- 3
1
vote
0 answers
How can I run my application on a Huawei Phone with DevEco Studio?
I would like to use a Huawei phone emulator but the simulator only shows Tablet, TV and Smartwatch.
It seems very strange to me that the most common device is the Telephone and and that is not available.
DevEco Studio Version: 1.2.0.501

JP711
- 533
- 6
- 15
1
vote
2 answers
How to get rid of/resolve "invalid" status of emulator in DevEcoStudio
In order to test any HMOS app in the emulator in DevEcoStudio IDE, we have to the emulator via Tools->Device Manager. Seldom, devices show "invalid" status due to which cannot launch the emulator. It stays in the same state for longer, sometimes for…

Kanak Sony
- 1,570
- 1
- 21
- 37
1
vote
1 answer
Reference of drawable and drawable idrtl in Android Studio in DevEco?
Are 'drawable' and 'drawable Idrtl' under "res" in Android Studio the same as "graphic under resources" in DevEco Studio ? Below Attached images are as references:
1.
2.

rohangupta8756
- 55
- 4