Android之旅
LorryWong
这个作者很懒,什么都没留下…
展开
-
新建安卓工程报错
新建一个工程,报错原因是JAVA空指针,原来是关闭appcompat_v7工程包导致的,处理方法就是打开这个工程。 appcompat_v7是Google自己的一个兼容包,就是一个支持库,能让2.1以上全使用上4.0版本 的界面。原创 2015-09-26 15:46:19 · 395 阅读 · 0 评论 -
安家了!第一篇自己的博客
接触安卓开发是在13年10月份,但中间耽误好多时间,从现在起,开始深入学习了,会更新很多遇到的坑,供自己和后来者借鉴。原创 2015-11-04 17:25:59 · 328 阅读 · 0 评论 -
The project was not built since its build path is incomplete.
错误提示为The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project The type java.lang.xxx canno原创 2015-12-30 09:56:04 · 835 阅读 · 0 评论 -
(求解答)decoder->decode returned false
InputStream ins=conn.getInputStream(); bm=BitmapFactory.decodeStream(ins); 使用这个方法解码网页中的图片,发现图片是png格式的时候解码失败,提示为decoder->decode returned false,如果是jpg格式,则运行良好。 有人说是安卓版本的问题,试过2.3和4.2 发现都是这个样子,因此应该和版原创 2015-12-31 14:00:02 · 803 阅读 · 0 评论