Search code examples
javaandroidhuawei-mobile-servicesharmonyosdeveco-studio

Change language of texts in Previewer in DevEco


How do we change the language of the texts in the previewer ? Its Chinese for me at present and if I try to change it by Preview -> Language -> Select Language (eng_US) then I find a timeout error each time. PLease help me here.

Error Code after i change language:

enter image description here


Solution

  • If it's just language, what you did should fix it. Please check to see if the previewer is up-to-date:

    enter image description here

    Also, there are some previews that are not supported, please check out Previewer's details: https://developer.harmonyos.com/en/docs/documentation/doc-guides/previewer-0000001054328973

    Previewer FAQ: https://developer.harmonyos.com/en/docs/documentation/doc-guides/faq-previewer-operating-0000001056617760

    If the error still exists, please share the error log for further investigation.