在已发布的'com.microsoft.cognitiveservices.speech:client-sdk:1.8.0‘.aar中缺少本机语音扩展名kws .so文件
Android代码错误消息:
E/意外的(SPXERR_EXTENSION_LIBRARY_NOT_FOUND):带有错误代码的异常: 0x24 java.lang.RuntimeException
Microsoft maven链接
预期内容:
REDIST.txt从.aar中提到以下库
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发布于 2019-12-05 19:22:29
SpeechSDK1.9.0发行版(估计在2020年1月中旬发布)将在.aar包中包含支持KWS的扩展。
https://stackoverflow.com/questions/58768324
复制相似问题