I m working on the Translator application where I need to speak out what user has translated. By following the Huawei
LogCat: Error Any help would be really appreciated. Thanks.
CodePudding user response:
I have set the wrong person with English language. So changing this code of Line
.setPerson(MLTtsConstants.TTS_SPEAKER_FEMALE_ZH)
with
.setPerson(MLTtsConstants.TTS_SPEAKER_MALE_EN)
works perfectly fine.