语言播报 sdk 在9.0以上机器问题
hncsmzmzh 发布于2020-01 浏览:5143 回复:5
0
收藏

9.0机器上 语音播报不出来  有异常

sdk提供的apk也是一样 

错误日记:

2020-01-13 10:27:53.099 12693-12886/com.geespace.lanucher V/AsyncHttpRH: Progress 773 from 1 (77300%)
2020-01-13 10:27:53.100 12693-12886/com.geespace.lanucher V/AsyncHttpRH: Progress 989 from 1 (98900%)
2020-01-13 10:27:53.119 12693-12884/com.geespace.lanucher I/System.out: begin to call ****** send due to user permission
2020-01-13 10:27:53.119 12693-12884/com.geespace.lanucher I/System.out: apache-http CtaAdapter isSendingPermitted
2020-01-13 10:27:53.119 12693-12884/com.geespace.lanucher W/System: ClassLoader referenced unknown path: system/framework/mediatek-cta.jar
2020-01-13 10:27:53.121 12693-12884/com.geespace.lanucher I/System.out: apache-http e:java.lang.ClassNotFoundException: com.mediatek.cta.CtaHttp
2020-01-13 10:27:53.121 12693-12884/com.geespace.lanucher W/System.err: java.lang.ClassNotFoundException: com.mediatek.cta.CtaHttp
2020-01-13 10:27:53.121 12693-12884/com.geespace.lanucher W/System.err: at java.lang.Class.classForName(Native Method)
2020-01-13 10:27:53.122 12693-12884/com.geespace.lanucher W/System.err: at java.lang.Class.forName(Class.java:453)
2020-01-13 10:27:53.122 12693-12884/com.geespace.lanucher W/System.err: at org.apache.http.cta.CtaAdapter.isSendingPermitted(CtaAdapter.java:26)
2020-01-13 10:27:53.122 12693-12884/com.geespace.lanucher W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:564)
2020-01-13 10:27:53.122 12693-12884/com.geespace.lanucher W/System.err: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:494)
2020-01-13 10:27:53.122 12693-12884/com.geespace.lanucher W/System.err: at com.baidu.tts.loopj.AsyncHttpRequest.makeRequest(AsyncHttpRequest.java:146)
2020-01-13 10:27:53.122 12693-12884/com.geespace.lanucher W/System.err: at com.baidu.tts.loopj.AsyncHttpRequest.makeRequestWithRetries(AsyncHttpRequest.java:177)
2020-01-13 10:27:53.122 12693-12884/com.geespace.lanucher W/System.err: at com.baidu.tts.loopj.AsyncHttpRequest.run(AsyncHttpRequest.java:107)
2020-01-13 10:27:53.122 12693-12884/com.geespace.lanucher W/System.err: at com.baidu.tts.loopj.SyncHttpClient.sendRequest(SyncHttpClient.java:93)
2020-01-13 10:27:53.122 12693-12884/com.geespace.lanucher W/System.err: at com.baidu.tts.loopj.AsyncHttpClient.post(AsyncHttpClient.java:1043)
2020-01-13 10:27:53.122 12693-12884/com.geespace.lanucher W/System.err: at com.baidu.tts.b.a.b.f$a.a(OnlineSynthesizer.java:389)
2020-01-13 10:27:53.122 12693-12884/com.geespace.lanucher W/System.err: at com.baidu.tts.b.a.b.f$a.call(OnlineSynthesizer.java:291)
2020-01-13 10:27:53.122 12693-12884/com.geespace.lanucher W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2020-01-13 10:27:53.122 12693-12884/com.geespace.lanucher W/System.err: at java.lang.Thread.run(Thread.java:764)
2020-01-13 10:27:53.123 12693-12884/com.geespace.lanucher W/System.err: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.mediatek.cta.CtaHttp" on path: DexPathList[[],nativeLibraryDirectories=[/system/lib]]
2020-01-13 10:27:53.123 12693-12884/com.geespace.lanucher W/System.err: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
2020-01-13 10:27:53.123 12693-12884/com.geespace.lanucher W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
2020-01-13 10:27:53.123 12693-12884/com.geespace.lanucher W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
2020-01-13 10:27:53.123 12693-12884/com.geespace.lanucher W/System.err: ... 14 more
2020-01-13 10:27:53.124 12693-12884/com.geespace.lanucher W/System: ClassLoader referenced unknown path: system/framework/mediatek-cta.jar

收藏
点赞
0
个赞
共5条回复 最后由用户已被禁言回复于2022-04
#6rose20135188回复于2020-01

设备不兼容么?

0
#5hncsmzmzh回复于2020-01

跟你们sdk 估计没关系 应该是我们设备的问题,其他设备上都是可以正常运行的

0
#4用户已被禁言回复于2020-01
#3 hncsmzmzh回复
小米9SE, ClassLoader referenced unknown path: system/framework/mediatek-cta.jar 联发科的一个jar包没找到
展开

了解,还请你使用官方最新sdk,不修改代码测试demo,看有无此问题。

0
#3hncsmzmzh回复于2020-01

小米9SE,

ClassLoader referenced unknown path: system/framework/mediatek-cta.jar

联发科的一个jar包没找到

0
#2用户已被禁言回复于2020-01

确认是否是官网最新版本SDK呢?如果是,请提供你测试的设备型号。

0
TOP
切换版块