我在使用科大讯飞的语音识别和语音合成库的时候遇到了一下问题。
在我的Android4中能正常运行,但在朋友的Android7中AS直接不给手机安装,就报一下错误:
Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
当我手动把安装包下载到手机上安装之后是能安装就是打不开,报以下错误:
libAisound.so: has text relocations
我的项目文件和gradle是这样的:
我尝试了降低targetSdkVersion,尝试了把armeabi里面的.so库复制到arm64-v8a、armeabi-v7a、x86、x86_64等目录还是不行,.so库不是我编译的,我到科大讯飞的论坛看了一下还是搞不明白,我应该怎么解决这个问题呢?
谢谢大神们!
怪我咯2017-04-18 09:08:46
When my colleague was using iFlytek, there was an error log popup on Nexus, which was also a problem with the .so file. In the end, he changed the file to the latest version of iFlytek, which solved the problem. You can try it.