Cordova:W / AccessibilityInjector:解析JS JSON对象时出错?

时间:2014-09-24 06:47:50

标签: android cordova webview talkback

开发Cordova(Phonegap)应用程序。虽然在设备(辅助功能)中启用了对讲,但在阅读我的Web视图UI元素时,我经常会收到这些错误。但是相同的UI在IOS中运行良好。

09-24 02:39:34.225    7096-7173/com.mdlive.mobile W/AccessibilityInjector﹕ Error parsing JS JSON object
org.json.JSONException: No value for text
        at org.json.JSONObject.get(JSONObject.java:355)
        at org.json.JSONObject.getString(JSONObject.java:515)
        at com.android.org.chromium.content.browser.accessibility.AccessibilityInjector$TextToSpeechWrapper.braille(AccessibilityInjector.java:451)
        at com.android.org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
        at com.android.org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:24)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:212)
        at android.os.HandlerThread.run(HandlerThread.java:61)

0 个答案:

没有答案