1.集成百度语音TTS语音合成,出现错误:
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.message.BasicNameValuePair" on path: DexPathList[[zip file "/data/app/com.bmsmart.sdk.avatarsdk-ct3o2i2gnoOlSLStIaqy0A==/base.apk"],nativeLibraryDirectories=[/data/app/com.bmsmart.sdk.avatarsdk-ct3o2i2gnoOlSLStIaqy0A==/lib/arm64, /data/app/com.bmsmart.sdk.avatarsdk-ct3o2i2gnoOlSLStIaqy0A==/base.apk!/lib/arm64-v8a, /system/lib64, /product/lib64]]
在我们需要打包的aar的library的清单文件中加入
android:name="org.apache.http.legacy"
android:required="false"/>
>
这段代码就可以了
问题1,解决方法
网友评论