SO库连接错误?为什么?
被汉化的ABC 发布于2015-09 浏览:1587 回复:1
0
收藏



我把下端代码注释掉才能运行,这又是为什么?

收藏
点赞
0
个赞
共1条回复 最后由用户已被禁言回复于2022-04
#2水寒319回复于2016-01

从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");
}

这个新版本会自动加载,开发者自己不需要再添加。



0
TOP
切换版块