I have an issue in downloading SDK file in version 3.0.0.800. After I installed DevEcoStudio I realized that SDK file did not get installed with it. So when I go to "Configure-> Settings-> HarmonyOS Legacy SDK" it shoes error as "Network connection failed. Check the network or HTTP proxy settings."
DevEcoStudio: No SDK file downloaded on installing DevEcoStudio
1.8k Views Asked by Muskan Khowala At
2
There are 2 best solutions below
1
On
Check whether the network is limited. If the network is limited, configure a proxy.
The other possible cause is that the system language of the PC is English and the region code is US. You could try to perform the following operations to change the region code to CN. Before changing the region code, close DevEco Studio.
In the C:\Users\username\AppData\Roaming\Huawei\DevEcoStudio3.0\options directory, open the country.region.xml file and change countryregion name to CN.
<application>
<component name="CountryRegionSetting">
<countryregion name="CN"/>
</component>
</application>
According to one of the Huawei dev, DevEco Studio 3.0 Beta 2+ that has the local emulator support doesn't work outside of China as of now. @shirley's answer to override the country allows to install the SDK, but yet to verify if this causing any quirks on the roadmap ahead -
https://forums.developer.huawei.com/forumPortal/en/topic/0202835968846400103