I'm getting an exception "Method not found: 'Java.Util.Locale..ctor'".
This is my code:
var c = Forms.Context;
speaker = new TextToSpeech (c, this);
var languageIso = "en-GB";
var locale = new Locale(languageIso);// languageIso is locale string
speaker.SetLanguage (locale);
This code is called via a dependency service.
DependencyService.Get<ITextToSpeech> ().SetBritishVoice ();
What am I doing wrong?