react-native-baidu-vtts
react-native-baidu-vtts copied to clipboard
react-native-baidu-vtts
Resource missing. [HTTP GET: https://maven.aliyun.com/nexus/content/groups/public/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.pom] Resource missing. [HTTP HEAD: https://maven.aliyun.com/nexus/content/groups/public/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.jar] Resource missing. [HTTP GET: https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.pom] Resource missing. [HTTP HEAD: https://jcenter.bintray.com/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.jar] FAILURE: Build failed with an exception. * What went wrong:...
我在Appcontainer的componentDidMount里调用的InitBaiduTTS,但是如果最小化到后台后再打开,会报错MySynthesizer类SpeechSynthesizer还未释放,请勿新建一个新类。但是RN没有整个程序从打开到关闭程序只调用一次的方法,请问如何解决?(或者说在哪里调用InitBaiduTTS比较合适)