有界面识别
tcjinr20 发布于2017-06 浏览:2042 回复:3
0
收藏
快速回复

我使用的服务是:

调用的接口是:

参数设置情况:

开发平台和机型:

SDK版本号:

代码或日志截图(上传截图能帮助您更快解决问题):

复现步骤、现象及其他描述:

06-10 19:21:11.640 12982-12982/com.polly E/AndroidRuntime: FATAL EXCEPTION: main
                                                           Process: com.polly, PID: 12982
                                                           java.lang.RuntimeException: Unable to start activity ComponentInfo{com.polly/com.baidu.voicerecognition.android.ui.BaiduASRDigitalDialog}: android.util.AndroidRuntimeException: com.baidu.voicerecognition.android.ui.BaiduASRDigitalDialog, 'android:exported' should be false, please modify AndroidManifest.xml
                                                               at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2817)
                                                               at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
                                                               at android.app.ActivityThread.-wrap11(Unknown Source:0)
                                                               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
                                                               at android.os.Handler.dispatchMessage(Handler.java:105)
                                                               at android.os.Looper.loop(Looper.java:164)
                                                               at android.app.ActivityThread.main(ActivityThread.java:6540)
                                                               at java.lang.reflect.Method.invoke(Native Method)
                                                               at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
                                                            Caused by: android.util.AndroidRuntimeException: com.baidu.voicerecognition.android.ui.BaiduASRDigitalDialog, 'android:exported' should be false, please modify AndroidManifest.xml
                                                               at com.baidu.voicerecognition.android.ui.BaiduASRDialog.onCreate(BaiduASRDialog.java:139)
                                                               at com.baidu.voicerecognition.android.ui.BaiduASRDigitalDialog.onCreate(BaiduASRDigitalDialog.java:282)
                                                               at android.app.Activity.performCreate(Activity.java:6980)
                                                               at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1213)
                                                               at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2770)
                                                               at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
                                                               at android.app.ActivityThread.-wrap11(Unknown Source:0)
                                                               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
                                                               at android.os.Handler.dispatchMessage(Handler.java:105)
                                                               at android.os.Looper.loop(Looper.java:164)
                                                               at android.app.ActivityThread.main(ActivityThread.java:6540)
                                                               at java.lang.reflect.Method.invoke(Native Method)
                                                               at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

收藏
点赞
0
个赞
共3条回复 最后由用户已被禁言回复于2022-04
#16用户已被禁言回复于2022-04

http://www.edrawsoft.cn/search/%E6%96%B0%E7%99%BE%E8%83%9C%E7%BD%91%E5%9D%80%E5%AE%98%E7%BD%91B2024%C2%B7CN%E5%BB%B6%E5%AE%89%E6%8B%9B%E8%81%98%EF%BD%97%EF%BC%A1%EF%BC%AE/ https://wap.zol.com.cn/index.php?c=List_List&keyword=%E6%96%B0%E7%99%BE%E5%88%A9%E6%88%90%E5%9B%BD%E9%99%85%E7%BD%91%E4%B8%8A%E5%A8%B1%E4%B9%90%E3%80%90TL262%C2%B7%EF%BC%A3%EF%BC%AF%EF%BC%AD%E6%AC%A2%E8%BF%8E%E6%82%A8%E3%80%91%E4%B8%89%E4%BA%9A%E5%8D%AB%E8%A7%86%EF%BC%8F http://search.dangdang.com/?key=%B9%FB%B2%A9%B6%AB%B7%BD%20%B9%D9%CD%F81%D6%B1%D3%AA%BF%AA%BB%A7%3ATL262%A1%A4C%A3%CFM%CE%E4%CD%FE%B5%E7%CA%D3%CC%A8%A3%EF&act=input https://ai.baidu.com/search/%E6%B5%B7%E5%8D%97%E4%B8%9C%E6%96%B9%E7%BD%91%E4%B8%8A%E9%BE%99%E8%99%8E%E7%9B%B4%E8%90%A5%E5%BC%80%E6%88%B7%3ATL262%C2%B7%EF%BC%A3%EF%BC%AF%EF%BC%AD%E5%8D%97%E9%80%9A%E7%BD%91%E9%80%9A%EF%BD%8C/all/1 https://www.duitang.com/search/?kw=%E9%91%AB%E7%99%BE%E5%88%A9%E5%9B%BD%E9%99%85%E7%BA%BF%E4%B8%8A%E5%A8%B1%E4%B9%90%E5%AE%98%E6%96%B9%E7%BD%91%E5%9D%80TL262%C2%B7%EF%BC%A3%EF%BC%AF%EF%BC%AD%E6%BD%AE%E5%B7%9E%E7%94%9F%E6%B4%BB%EF%BC%81%EF%BD%92%EF%BC%96&type=album

0
#3fujiayi1984回复于2017-06

tcjinr20:

我使用的服务是:

调用的接口是:

参数设置情况:

开发平台和机型:

SDK版本号:

代码或日志截图(上传截图能帮助您更快解决问题):

复现步骤、现象及其他描述:

06-10 19:21:11.640 12982-12982/com.polly E/AndroidRuntime: FATAL EXCEPTION: main
                                                           Process: com.polly, PID: 12982
                                                           java.lang.RuntimeException: Unable to start activity ComponentInfo{com.polly/com.baidu.voicerecognition.android.ui.BaiduASRDigitalDialog}: android.util.AndroidRuntimeException: com.baidu.voicerecognition.android.ui.BaiduASRDigitalDialog, 'android:exported' should be false, please modify AndroidManifest.xml
                                                               at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2817)
                                                               at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
                                                               at android.app.ActivityThread.-wrap11(Unknown Source:0)
                                                               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
                                                               at android.os.Handler.dispatchMessage(Handler.java:105)
                                                               at android.os.Looper.loop(Looper.java:164)
                                                               at android.app.ActivityThread.main(ActivityThread.java:6540)
                                                               at java.lang.reflect.Method.invoke(Native Method)
                                                               at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
                                                            Caused by: android.util.AndroidRuntimeException: com.baidu.voicerecognition.android.ui.BaiduASRDigitalDialog, 'android:exported' should be false, please modify AndroidManifest.xml
                                                               at com.baidu.voicerecognition.android.ui.BaiduASRDialog.onCreate(BaiduASRDialog.java:139)
                                                               at com.baidu.voicerecognition.android.ui.BaiduASRDigitalDialog.onCreate(BaiduASRDigitalDialog.java:282)
                                                               at android.app.Activity.performCreate(Activity.java:6980)
                                                               at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1213)
                                                               at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2770)
                                                               at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
                                                               at android.app.ActivityThread.-wrap11(Unknown Source:0)
                                                               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
                                                               at android.os.Handler.dispatchMessage(Handler.java:105)
                                                               at android.os.Looper.loop(Looper.java:164)
                                                               at android.app.ActivityThread.main(ActivityThread.java:6540)
                                                               at java.lang.reflect.Method.invoke(Native Method)
                                                               at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

回复tcjinr20:

请您测试下官方demo有无此问题

0
#2tcjinr20回复于2017-06

06-10 19:23:13.305 14986-14986/com.polly E/AndroidRuntime: FATAL EXCEPTION: main
                                                           Process: com.polly, PID: 14986
                                                           java.lang.RuntimeException: Unable to start activity ComponentInfo{com.polly/com.baidu.voicerecognition.android.ui.BaiduASRDigitalDialog}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.os.Bundle.unparcel()' on a null object reference
                                                               at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2817)
                                                               at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
                                                               at android.app.ActivityThread.-wrap11(Unknown Source:0)
                                                               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
                                                               at android.os.Handler.dispatchMessage(Handler.java:105)
                                                               at android.os.Looper.loop(Looper.java:164)
                                                               at android.app.ActivityThread.main(ActivityThread.java:6540)
                                                               at java.lang.reflect.Method.invoke(Native Method)
                                                               at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
                                                            Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.os.Bundle.unparcel()' on a null object reference
                                                               at android.os.Bundle.putAll(Bundle.java:250)
                                                               at com.baidu.voicerecognition.android.ui.BaiduASRDialog.onCreate(BaiduASRDialog.java:153)
                                                               at com.baidu.voicerecognition.android.ui.BaiduASRDigitalDialog.onCreate(BaiduASRDigitalDialog.java:282)
                                                               at android.app.Activity.performCreate(Activity.java:6980)
                                                               at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1213)
                                                               at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2770)
                                                               at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
                                                               at android.app.ActivityThread.-wrap11(Unknown Source:0)
                                                               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
                                                               at android.os.Handler.dispatchMessage(Handler.java:105)
                                                               at android.os.Looper.loop(Looper.java:164)
                                                               at android.app.ActivityThread.main(ActivityThread.java:6540)
                                                               at java.lang.reflect.Method.invoke(Native Method)
                                                               at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

0
TOP
切换版块