web页面中通过js方法回调部分native的功能出现错误 Object [object Object] has no method 'openI***e' at null:1
来源:互联网 发布:企业数据备份解决方案 编辑:程序博客网 时间:2024/06/12 20:50
错误:E/Web Console(20158): Uncaught TypeError: Object [object Object] has no method 'open***e' at null:1
最近测试发现,在某些最新机型上(4.2及以上),JS回调好像不起做用了。打开log,提示Uncaught TypeError: Object [object Object] has no method 'xxx' 。其中xxx就是web页面中写的js方法名。
仔细研究,发现是因为Android4.2及以上版本对于js的支持方式有改变导致(又是一起新版本导致的不兼容事件,最近这种事情越来越多了)。具体的,请看下面这篇文章,写的很详细了,没有必要再写一遍了,请直接参考吧。http://blog.csdn.net/zgjxwl/article/details/9627685
记录于此,方便网友查询。
0 0
- web页面中通过js方法回调部分native的功能出现错误 Object [object Object] has no method 'openI***e' at null:1
- sencha touch中出现JS错误Uncaught TypeError: Object [object Object] has no method 'getForm'
- JS调用Android中的方法时出现 "Uncaught TypeError: Object [object Object] has no method
- 出现TypeError: Object #<Object> has no method 'createClient' 错误
- js调用java方法的遇到的坑Uncaught TypeError: Object [object Object] has no method
- android中java和JS互相调用,Web Console: Uncaught TypeError: Object [object Object] has no method
- Android js交互错误:Uncaught TypeError: Object [object Object] has no method 'xxx'
- Object [object Object] has no method 'tree'
- webview 错误 Object has no method clickOnAndroid
- Object [object global] has no method 'xxxx方法'
- TypeError: Object #<Object> has no method 'createClient'
- Android webview js 调用java方法报错"Uncaught TypeError: Object [object Object] has no method xx
- Uncaught TypeError: Object [object Object] has no method 'live'
- jquery: Uncaught TypeError: Object [object Object] has no method 'live'
- Uncaught TypeError: Object [object Object] has no method 'xxx'
- canvas Object [object Object] has no method 'getContext'
- Uncaught TypeError: Object [object Object] has no method 'highcharts'
- jsp Object [object Object] has no method 'datebox'
- 如何撰写世界一流的子弹杀死,不管是什么为您提供!
- C++习题 复数类--重载运算符+,-,*,/
- auto_ptr实现原型
- windows下使用git管理github项目
- 得到某个表的某个字段的最大值(Oracle与Mysql的区别)
- web页面中通过js方法回调部分native的功能出现错误 Object [object Object] has no method 'openI***e' at null:1
- 纠结的Python2.7编码与os.walk()函数的目录参数
- grails找不到数据库连接类
- TCP/IP(5.1)DNS查询过程
- 高性能 TCP & UDP 通信框架 HP-Socket v3.2.2 正式发布
- 如何成为防弹从批判
- 简易天气隐私策略
- hdu 3652 B-number
- 如何建立您自己的防弹营销攻击计划