Microsoft 语音 SDK:android 库 v1.8.0 缺少本机语音扩展 kws .so 库
Microsoft Speech SDK: android library v1.8.0 missing native speech extension kws .so libs
已发布 'com.microsoft.cognitiveservices.speech:client-sdk:1.8.0'.aar
中缺少本地语音扩展 kws .so 文件
Android代码错误信息:
E/ unexpected java.lang.RuntimeException:错误代码异常:0x24 (SPXERR_EXTENSION_LIBRARY_NOT_FOUND)
微软专家link
预期内容:
来自 .aar 的 REDIST.txt 提到以下库
client-sdk-<VERSION>.aar (or content derived from it)
client-sdk-<VERSION>.jar
libMicrosoft.CognitiveServices.Speech.core.a
libMicrosoft.CognitiveServices.Speech.core.dylib
libMicrosoft.CognitiveServices.Speech.core.so
libMicrosoft.CognitiveServices.Speech.extension.codec.so
**libMicrosoft.CognitiveServices.Speech.extension.kws.so**
libMicrosoft.CognitiveServices.Speech.java.bindings.**jnilib**
找到:
在相应的 jni ABI 目录中不包含 标记的库
META-INF/MANIFEST.MF
META-INF/MSFTSIG.SF
META-INF/MSFTSIG.RSA
AndroidManifest.xml
classes.jar
jni/arm64-v8a/
libMicrosoft.CognitiveServices.Speech.core.so
libMicrosoft.CognitiveServices.Speech.extension.codec.so
libMicrosoft.CognitiveServices.Speech.java.bindings.so
jni/armeabi-v7a/
libMicrosoft.CognitiveServices.Speech.core.so
libMicrosoft.CognitiveServices.Speech.extension.codec.so
libMicrosoft.CognitiveServices.Speech.java.bindings.so
jni/x86/
libMicrosoft.CognitiveServices.Speech.core.so
libMicrosoft.CognitiveServices.Speech.extension.codec.so
libMicrosoft.CognitiveServices.Speech.java.bindings.so
jni/x86_64/
libMicrosoft.CognitiveServices.Speech.core.so
libMicrosoft.CognitiveServices.Speech.extension.codec.so
libMicrosoft.CognitiveServices.Speech.java.bindings.so
license.md
proguard.txt
R.txt
REDIST.txt
ThirdPartyNotices.md
Speech SDK 1.9.0 版本(预计 2020 年 1 月中旬)将在 .aar 包中包含支持 KWS 扩展。
已发布 'com.microsoft.cognitiveservices.speech:client-sdk:1.8.0'.aar
中缺少本地语音扩展 kws .so 文件Android代码错误信息:
E/ unexpected java.lang.RuntimeException:错误代码异常:0x24 (SPXERR_EXTENSION_LIBRARY_NOT_FOUND)
微软专家link
预期内容:
来自 .aar 的REDIST.txt 提到以下库
client-sdk-<VERSION>.aar (or content derived from it)
client-sdk-<VERSION>.jar
libMicrosoft.CognitiveServices.Speech.core.a
libMicrosoft.CognitiveServices.Speech.core.dylib
libMicrosoft.CognitiveServices.Speech.core.so
libMicrosoft.CognitiveServices.Speech.extension.codec.so
**libMicrosoft.CognitiveServices.Speech.extension.kws.so**
libMicrosoft.CognitiveServices.Speech.java.bindings.**jnilib**
找到:
在相应的 jni ABI 目录中不包含 标记的库
META-INF/MANIFEST.MF
META-INF/MSFTSIG.SF
META-INF/MSFTSIG.RSA
AndroidManifest.xml
classes.jar
jni/arm64-v8a/
libMicrosoft.CognitiveServices.Speech.core.so
libMicrosoft.CognitiveServices.Speech.extension.codec.so
libMicrosoft.CognitiveServices.Speech.java.bindings.so
jni/armeabi-v7a/
libMicrosoft.CognitiveServices.Speech.core.so
libMicrosoft.CognitiveServices.Speech.extension.codec.so
libMicrosoft.CognitiveServices.Speech.java.bindings.so
jni/x86/
libMicrosoft.CognitiveServices.Speech.core.so
libMicrosoft.CognitiveServices.Speech.extension.codec.so
libMicrosoft.CognitiveServices.Speech.java.bindings.so
jni/x86_64/
libMicrosoft.CognitiveServices.Speech.core.so
libMicrosoft.CognitiveServices.Speech.extension.codec.so
libMicrosoft.CognitiveServices.Speech.java.bindings.so
license.md
proguard.txt
R.txt
REDIST.txt
ThirdPartyNotices.md
Speech SDK 1.9.0 版本(预计 2020 年 1 月中旬)将在 .aar 包中包含支持 KWS 扩展。