nativescript-community / texttospeech

Text to Speech NativeScript plugin for Android & iOS :loudspeaker:

Home Page:http://nativescript-community.github.io/texttospeech/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't build with the plugin

brendiche opened this issue · comments

hello, i'm facing this problem when i build the application after adding texttospeech plugin

`
/home/uids7795/workspace/poc/testAppsidekick/platforms/android/src/main/java/com/tns/gen/android/speech/tts/UtteranceProgressListener_ftns_modules_nativescript_texttospeech_texttospeech_android_l10_c88__.java:3: error: '{' expected
public class UtteranceProgressListener_ftns_modules_nativescript_texttospeech_texttospeech.android_l10_c88__ extends android.speech.tts.UtteranceProgressListener implements com.tns.NativeScriptHashCodeProvider {
^
/home/uids7795/workspace/poc/testAppsidekick/platforms/android/src/main/java/com/tns/gen/android/speech/tts/UtteranceProgressListener_ftns_modules_nativescript_texttospeech_texttospeech_android_l10_c88__.java:4: error: expected
public UtteranceProgressListener_ftns_modules_nativescript_texttospeech_texttospeech.android_l10_c88__(){

`

i really don't know where this come from

PS : I'm new to nativescript

Not sure either from that output. It's not very clear TBH. Is this output in your terminal? I see testAppsidekick so are you using Sidekick? If so, you might want to ask Progress why it fails with sidekick. The demo app seems to be building and running fine with the plugin. So your project is jacked up somewhere.

I would try nuking your node_modules and platforms, add the plugin and then do a fresh build. However, I don't use sidekick so I don't know how that process is done compared to using the CLI.

Just updated the demo to NS 3x and confirmed all is working fine. Nuking your platforms and a fresh build should solve your issue, if not and using sidekick I would put a support ticket in with them as I can't reproduce this error. Thanks.