以下是打印的日志信息
08-25 16:37:37.541 7028-7028/com.guoanrui I/AuthEasrHelper: GetLicense getLicenseRet -101, licensePath: /data/user/0/com.guoanrui/files/bds-easr-license.lic, appid: 9923962
08-25 16:37:37.541 7028-7028/com.guoanrui I/AuthEasrHelper: cuid: 130A1893D6233A45AE2FE30D4254B037|741507120110968, stat: eyJ3aXNlX2N1aWQiOiIxMzBBMTg5M0Q2MjMzQTQ1QUUyRkUzMEQ0MjU0QjAzN3w3NDE1MDcxMjAx
MTA5NjgiLCJzZGtfdmVyc2lvbiI6IjIuMS4yMS4yMDE3MDExMl8zYWQxNGRlX2JldGEiLCJhcHBf
bmFtZSI6ImNvbS5ndW9hbnJ1aSIsInBsYXRmb3JtIjoiQW5kcm9pZCZQUk8gNiY2LjAmMjMmMSIs
Im9zIjoiQW5kcm9pZCIsIm5ldF90eXBlIjoxLCJzY3JlZW4iOiIxMDgwKjE5MjAiLCJhcHBfc2ln
bmF0dXJlIjoiODdmYzdiZWNhYjE1MWE2MDVjYTkxNzg0NmIzMTMzNjgifQ==
08-25 16:37:37.645 7028-7028/com.guoanrui I/AuthEasrHelper: GetLicense getLicenseRet -101, licensePath: /data/user/0/com.guoanrui/files/bds-easr-license.lic, appid:
08-25 16:37:37.645 7028-7028/com.guoanrui I/AuthEasrHelper: cuid: 130A1893D6233A45AE2FE30D4254B037|741507120110968, stat: eyJ3aXNlX2N1aWQiOiIxMzBBMTg5M0Q2MjMzQTQ1QUUyRkUzMEQ0MjU0QjAzN3w3NDE1MDcxMjAx
MTA5NjgiLCJzZGtfdmVyc2lvbiI6IjIuMS4yMS4yMDE3MDExMl8zYWQxNGRlX2JldGEiLCJhcHBf
bmFtZSI6ImNvbS5ndW9hbnJ1aSIsInBsYXRmb3JtIjoiQW5kcm9pZCZQUk8gNiY2LjAmMjMmMSIs
Im9zIjoiQW5kcm9pZCIsIm5ldF90eXBlIjoxLCJzY3JlZW4iOiIxMDgwKjE5MjAiLCJhcHBfc2ln
bmF0dXJlIjoiODdmYzdiZWNhYjE1MWE2MDVjYTkxNzg0NmIzMTMzNjgifQ==
08-25 16:37:37.645 7028-7028/com.guoanrui I/AuthEasrHelper: GetLicense getLicenseRet -101, licensePath: /data/user/0/com.guoanrui/files/bds-easr-license.lic
08-25 16:37:37.645 7028-7028/com.guoanrui I/AuthEasrHelper: cuid: 130A1893D6233A45AE2FE30D4254B037|741507120110968, stat: eyJ3aXNlX2N1aWQiOiIxMzBBMTg5M0Q2MjMzQTQ1QUUyRkUzMEQ0MjU0QjAzN3w3NDE1MDcxMjAx
MTA5NjgiLCJzZGtfdmVyc2lvbiI6IjIuMS4yMS4yMDE3MDExMl8zYWQxNGRlX2JldGEiLCJhcHBf
bmFtZSI6ImNvbS5ndW9hbnJ1aSIsInBsYXRmb3JtIjoiQW5kcm9pZCZQUk8gNiY2LjAmMjMmMSIs
Im9zIjoiQW5kcm9pZCIsIm5ldF90eXBlIjoxLCJzY3JlZW4iOiIxMDgwKjE5MjAiLCJhcHBfc2ln
bmF0dXJlIjoiODdmYzdiZWNhYjE1MWE2MDVjYTkxNzg0NmIzMTMzNjgifQ==
08-25 16:37:37.647 7028-7028/com.guoanrui W/System.err: java.lang.Exception: WakeUpInitial=-1
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at com.baidu.speech.EventManagerWp.doWpStart(EventManagerWp.java:147)
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at com.baidu.speech.EventManagerWp.send(EventManagerWp.java:57)
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at java.lang.reflect.Method.invoke(Native Method)
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at com.baidu.speech.EventContext$SmartLogger$1.invoke(EventContext.java:288)
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at java.lang.reflect.Proxy.invoke(Proxy.java:393)
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at $Proxy0.send(Unknown Source)
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at com.guoanrui.bdvoice.MainActivity.onCreate(MainActivity.java:81)
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at android.app.Activity.performCreate(Activity.java:6373)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2781)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.app.ActivityThread.-wrap11(ActivityThread.java)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1595)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.os.Handler.dispatchMessage(Handler.java:111)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.os.Looper.loop(Looper.java:207)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5977)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at java.lang.reflect.Method.invoke(Native Method)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:940)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:801)
08-25 16:37:37.702 7028-7028/com.guoanrui I/MainActivity: 唤醒已经停止: {"desc":"java.lang.Exception: WakeUpInitial=-1"}
08-25 16:37:37.709 7028-7281/com.guoanrui I/MicrophoneInputStream: close(), sUsingCount=0, sInnerSourceInputStream=null
08-25 16:37:37.743 7028-7306/com.guoanrui I/OpenGLRenderer: Initialized EGL, version 1.4
08-25 16:37:37.750 7028-7306/com.guoanrui I/OpenGLRenderer: Get enable program binary service property (1)
08-25 16:37:37.751 7028-7306/com.guoanrui I/OpenGLRenderer: Program binary detail: Binary length is 173456, program map length is 152.
08-25 16:37:37.752 7028-7306/com.guoanrui I/OpenGLRenderer: Succeeded to mmap program binaries. File descriptor is 40, and path is /dev/ashmem?.
08-25 16:37:37.752 7028-7306/com.guoanrui I/OpenGLRenderer: No need to use file discriptor anymore, close fd(40).
08-25 16:37:37.758 7028-7306/com.guoanrui W/libEGL: [ANDROID_RECORDABLE] format: 1
08-25 16:37:37.824 7028-7306/com.guoanrui I/[MALI][Gralloc]: [+]r_hnd(0x7f8bd42460), client(45), share_fd(43)
08-25 16:37:37.835 7028-7306/com.guoanrui I/[MALI][Gralloc]: [+]r_hnd(0x7f8bd42500), client(45), share_fd(47)
08-25 16:37:37.857 7028-7306/com.guoanrui I/[MALI][Gralloc]: [+]r_hnd(0x7f8bd425a0), client(45), share_fd(49)
153*****903:
以下是打印的日志信息
08-25 16:37:37.541 7028-7028/com.guoanrui I/AuthEasrHelper: GetLicense getLicenseRet -101, licensePath: /data/user/0/com.guoanrui/files/bds-easr-license.lic, appid: 9923962
08-25 16:37:37.541 7028-7028/com.guoanrui I/AuthEasrHelper: cuid: 130A1893D6233A45AE2FE30D4254B037|741507120110968, stat: eyJ3aXNlX2N1aWQiOiIxMzBBMTg5M0Q2MjMzQTQ1QUUyRkUzMEQ0MjU0QjAzN3w3NDE1MDcxMjAx
MTA5NjgiLCJzZGtfdmVyc2lvbiI6IjIuMS4yMS4yMDE3MDExMl8zYWQxNGRlX2JldGEiLCJhcHBf
bmFtZSI6ImNvbS5ndW9hbnJ1aSIsInBsYXRmb3JtIjoiQW5kcm9pZCZQUk8gNiY2LjAmMjMmMSIs
Im9zIjoiQW5kcm9pZCIsIm5ldF90eXBlIjoxLCJzY3JlZW4iOiIxMDgwKjE5MjAiLCJhcHBfc2ln
bmF0dXJlIjoiODdmYzdiZWNhYjE1MWE2MDVjYTkxNzg0NmIzMTMzNjgifQ==
08-25 16:37:37.645 7028-7028/com.guoanrui I/AuthEasrHelper: GetLicense getLicenseRet -101, licensePath: /data/user/0/com.guoanrui/files/bds-easr-license.lic, appid:
08-25 16:37:37.645 7028-7028/com.guoanrui I/AuthEasrHelper: cuid: 130A1893D6233A45AE2FE30D4254B037|741507120110968, stat: eyJ3aXNlX2N1aWQiOiIxMzBBMTg5M0Q2MjMzQTQ1QUUyRkUzMEQ0MjU0QjAzN3w3NDE1MDcxMjAx
MTA5NjgiLCJzZGtfdmVyc2lvbiI6IjIuMS4yMS4yMDE3MDExMl8zYWQxNGRlX2JldGEiLCJhcHBf
bmFtZSI6ImNvbS5ndW9hbnJ1aSIsInBsYXRmb3JtIjoiQW5kcm9pZCZQUk8gNiY2LjAmMjMmMSIs
Im9zIjoiQW5kcm9pZCIsIm5ldF90eXBlIjoxLCJzY3JlZW4iOiIxMDgwKjE5MjAiLCJhcHBfc2ln
bmF0dXJlIjoiODdmYzdiZWNhYjE1MWE2MDVjYTkxNzg0NmIzMTMzNjgifQ==
08-25 16:37:37.645 7028-7028/com.guoanrui I/AuthEasrHelper: GetLicense getLicenseRet -101, licensePath: /data/user/0/com.guoanrui/files/bds-easr-license.lic
08-25 16:37:37.645 7028-7028/com.guoanrui I/AuthEasrHelper: cuid: 130A1893D6233A45AE2FE30D4254B037|741507120110968, stat: eyJ3aXNlX2N1aWQiOiIxMzBBMTg5M0Q2MjMzQTQ1QUUyRkUzMEQ0MjU0QjAzN3w3NDE1MDcxMjAx
MTA5NjgiLCJzZGtfdmVyc2lvbiI6IjIuMS4yMS4yMDE3MDExMl8zYWQxNGRlX2JldGEiLCJhcHBf
bmFtZSI6ImNvbS5ndW9hbnJ1aSIsInBsYXRmb3JtIjoiQW5kcm9pZCZQUk8gNiY2LjAmMjMmMSIs
Im9zIjoiQW5kcm9pZCIsIm5ldF90eXBlIjoxLCJzY3JlZW4iOiIxMDgwKjE5MjAiLCJhcHBfc2ln
bmF0dXJlIjoiODdmYzdiZWNhYjE1MWE2MDVjYTkxNzg0NmIzMTMzNjgifQ==
08-25 16:37:37.647 7028-7028/com.guoanrui W/System.err: java.lang.Exception: WakeUpInitial=-1
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at com.baidu.speech.EventManagerWp.doWpStart(EventManagerWp.java:147)
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at com.baidu.speech.EventManagerWp.send(EventManagerWp.java:57)
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at java.lang.reflect.Method.invoke(Native Method)
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at com.baidu.speech.EventContext$SmartLogger$1.invoke(EventContext.java:288)
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at java.lang.reflect.Proxy.invoke(Proxy.java:393)
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at $Proxy0.send(Unknown Source)
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at com.guoanrui.bdvoice.MainActivity.onCreate(MainActivity.java:81)
08-25 16:37:37.648 7028-7028/com.guoanrui W/System.err: at android.app.Activity.performCreate(Activity.java:6373)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1126)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2781)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.app.ActivityThread.-wrap11(ActivityThread.java)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1595)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.os.Handler.dispatchMessage(Handler.java:111)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.os.Looper.loop(Looper.java:207)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5977)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at java.lang.reflect.Method.invoke(Native Method)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:940)
08-25 16:37:37.649 7028-7028/com.guoanrui W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:801)
08-25 16:37:37.702 7028-7028/com.guoanrui I/MainActivity: 唤醒已经停止: {"desc":"java.lang.Exception: WakeUpInitial=-1"}
08-25 16:37:37.709 7028-7281/com.guoanrui I/MicrophoneInputStream: close(), sUsingCount=0, sInnerSourceInputStream=null
08-25 16:37:37.743 7028-7306/com.guoanrui I/OpenGLRenderer: Initialized EGL, version 1.4
08-25 16:37:37.750 7028-7306/com.guoanrui I/OpenGLRenderer: Get enable program binary service property (1)
08-25 16:37:37.751 7028-7306/com.guoanrui I/OpenGLRenderer: Program binary detail: Binary length is 173456, program map length is 152.
08-25 16:37:37.752 7028-7306/com.guoanrui I/OpenGLRenderer: Succeeded to mmap program binaries. File descriptor is 40, and path is /dev/ashmem?.
08-25 16:37:37.752 7028-7306/com.guoanrui I/OpenGLRenderer: No need to use file discriptor anymore, close fd(40).
08-25 16:37:37.758 7028-7306/com.guoanrui W/libEGL: [ANDROID_RECORDABLE] format: 1
08-25 16:37:37.824 7028-7306/com.guoanrui I/[MALI][Gralloc]: [+]r_hnd(0x7f8bd42460), client(45), share_fd(43)
08-25 16:37:37.835 7028-7306/com.guoanrui I/[MALI][Gralloc]: [+]r_hnd(0x7f8bd42500), client(45), share_fd(47)
08-25 16:37:37.857 7028-7306/com.guoanrui I/[MALI][Gralloc]: [+]r_hnd(0x7f8bd425a0), client(45), share_fd(49)
回复153*****903:您请您下载下新版demo实现,另外看下官网的应用的包名设置是否与您的app相一致。
我在补充一句,我之前已经把语音识别给集成好了,现在添加语音唤醒部分,就报这个错