语音合成license arg invalid
136******64 发布于2019-01 浏览:4686 回复:34
0
收藏

我在使用语言合成功能的时候(接的是Android sdk,基本和demo的一样,没做多少改动)出现了奇怪的状况,用eclipse调试的时候,基本正常。但发布apk后,会出现如下日志:

01-21 09:56:23.304 I/NonBlockSyntherizer( 3038): 验证通过,离线正式授权文件存在。

01-21 09:56:23.317 D/bdtts-AuthClient( 3038): appCode=14361469

01-21 09:56:23.317 D/bdtts-AuthClient( 3038): licenseFilePath=/data/user/0/com.sdream.ls/files/baidu_tts_license

01-21 09:56:23.317 D/bdtts-Memorizer( 3038): + get f=java.util.concurrent.FutureTask@33e72513

01-21 09:56:23.318 D/bdtts-Memorizer( 3038): - get f=java.util.concurrent.FutureTask@33e72513

01-21 09:56:23.318 D/bdtts-Memorizer( 3038): arg invalid r=com.baidu.tts.auth.b$a@2f0725b2

01-21 09:56:23.318 D/bdtts-Memorizer( 3038): + run f=java.util.concurrent.FutureTask@22b90fae

01-21 09:56:23.318 D/bdtts-OfflineAuth( 3038): + downloadLicense

01-21 09:56:23.332 W/ ( 4614): Unable to open '/system/framework/WfdCommon.jar': No such file or directory

01-21 09:56:23.332 W/art ( 4614): Failed to open zip archive '/system/framework/WfdCommon.jar': I/O Error

01-21 09:56:23.362 I/ActivityManager( 732): Start proc 4659:com.iflytek.speechcloud:xpush/u0a30 for broadcast com.iflytek.speechcloud/com.iflytek.pushclient.manager.PushServiceReceiver

01-21 09:56:23.391 W/ContextImpl( 4614): Implicit intents with startService are not safe: Intent { act=com.iflytek.business.plusbusinessservice } android.content.ContextWrapper.startService:516 com.iflytek.business.BusinessService.onStart:-1 android.app.Service.onStartCommand:458

01-21 09:56:23.406 W/ActivityManager( 732): getRunningAppProcesses: caller 10030 does not hold REAL_GET_TASKS; limiting output

01-21 09:56:23.407 W/ContextImpl( 4614): Implicit intents with startService are not safe: Intent { act=com.iflytek.business.plusbusinessservice } android.content.ContextWrapper.startService:516 com.iflytek.business.BusinessService.onStart:-1 android.app.Service.onStartCommand:458

01-21 09:56:23.409 W/PushClient_PushServiceReceiver( 4659): onReceive | action = android.net.conn.CONNECTIVITY_CHANGE

01-21 09:56:23.413 W/PushClient_PushService( 4659): onCreate

01-21 09:56:23.426 W/PushClient_ConfigManager( 4659): initConfig | strConfig: http://xpush.voicecloud.cn/login.do http://xpush.voicecloud.cn/app.do http://xpush.voicecloud.cn/pushnode.do 300000 1.0.1040 1

01-21 09:56:23.447 W/PushClient_PushManager( 4614): startWork

 

我对比过正常和错误的两种日志,关键应该在于:

D/bdtts-Memorizer( 3038): + get f=java.util.concurrent.FutureTask@33e72513

D/bdtts-Memorizer( 3038): - get f=java.util.concurrent.FutureTask@33e72513

D/bdtts-Memorizer( 3038): arg invalid r=com.baidu.tts.auth.b$a@2f0725b2  

这几行,正常的日志,应该是这样的:

D/bdtts-Memorizer(9171): + get f=java.util.concurrent.FutureTask@328ef462
D/bdtts-Memorizer(9171): - get f=java.util.concurrent.FutureTask@328ef462

D/bdtts-OfflineAuth(9171): verify result=0

应该是表示license有效;而出错的情况下则是arg invalid r=com.baidu.tts.auth.b$a。

在网上也看到有人发帖提出了类似的问题,但是没人回答,没得到真正的解决办法。所以只能自己发帖在问问看,有没有人知道这是什么情况?要如何解决呢?

收藏
点赞
0
个赞
共34条回复 最后由沙皇鱼雷回复于2022-04
#733用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#732用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#731用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#730用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#729用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#728用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#727用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#726用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#725用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#724用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#723用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#722用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#721用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#720用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#719用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#718用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#717用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#716用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#715用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
#714用户已被禁言回复于2022-04


https://www.wenshen55.com/user/112010

 

0
TOP
切换版块