1.Android listview数据没完全加载时滑动界面越界报错。解决办法是先设置setEnabled(false);,加载完后.setEnabled(true);
2.网络访问不能放在主线程,会报错。
3.web端百度地图添加覆盖物,只有IE浏览器不显示,但点击F12后显示,删除代码中console后显示正常。console.log引起JavaScript兼容问题。提前声明一下就好了,在所有页面的开头都加上:
<script type="text/javascript"> if(!window.console){ window.console = {}; } if(!window.console.log){ window.console.log = function(msg){}; } </script>
4.Unable to execute dex: Multiple dex files define Lcom/myapp/R$array;
- Right click on the
Project Name
- Select
Build Path
->Configure Build Path
-
In
Java Build Path
, go to the tabOrder and Export
-
Uncheck your
.jar
library