- 博客(4)
- 收藏
- 关注
原创 (求解答)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 782
原创 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 822
原创 新建安卓工程报错
新建一个工程,报错原因是JAVA空指针,原来是关闭appcompat_v7工程包导致的,处理方法就是打开这个工程。appcompat_v7是Google自己的一个兼容包,就是一个支持库,能让2.1以上全使用上4.0版本 的界面。
2015-09-26 15:46:19 380
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人