语音合成按好教程一步步配置 ,写个demo提示这个?
从1.1.1版本更新到2.0.1版本后,有些老版本的遗留代码是不能用的。
例如:
static { System.loadLibrary("gnustl_shared"); // 部分版本不需要BDSpeechDecoder_V1 try { System.loadLibrary("BDSpeechDecoder_V1"); } catch (UnsatisfiedLinkError e) { e.printStackTrace(); } System.loadLibrary("bd_etts"); System.loadLibrary("bdtts"); }
这个新版本会自动加载,开发者自己不需要再添加。
从1.1.1版本更新到2.0.1版本后,有些老版本的遗留代码是不能用的。
例如:
static {
System.loadLibrary("gnustl_shared");
// 部分版本不需要BDSpeechDecoder_V1
try {
System.loadLibrary("BDSpeechDecoder_V1");
} catch (UnsatisfiedLinkError e) {
e.printStackTrace();
}
System.loadLibrary("bd_etts");
System.loadLibrary("bdtts");
}
这个新版本会自动加载,开发者自己不需要再添加。