ImageLoader must be init with configuration before using...
2014-06-03 09:35
627 查看
在Android应用程序开发中在网络中加载图片、、、会出现
java.lang.IllegalStateException: ImageLoader must be init with configuration before using
错误、点击你会看见是在你写的
imageLoader.displayImage();方法有错、、、怎么回事???
原因:你没有初始值、、、哈哈哈、、、
解决方法:
在这个方法之上加上
imageLoader.init(ImageLoaderConfiguration.createDefault(MainActivity.this));
我想你也引入了image的jar吧、、、improt一下就行了
、、、、
java.lang.IllegalStateException: ImageLoader must be init with configuration before using
错误、点击你会看见是在你写的
imageLoader.displayImage();方法有错、、、怎么回事???
原因:你没有初始值、、、哈哈哈、、、
解决方法:
在这个方法之上加上
imageLoader.init(ImageLoaderConfiguration.createDefault(MainActivity.this));
我想你也引入了image的jar吧、、、improt一下就行了
、、、、
相关文章推荐
- java.lang.RuntimeException: ImageLoader must be init with configuration before using的解决方法
- 解决ImageLoader must be init with configuration before using
- ImageLoader must be init with configuration before using
- ImageLoader must be init with configuration before using 错误解决方法
- 开源项目Universal Image Loader :ImageLoader must be init with configuration before using
- 图片异步加载java.lang.IllegalStateException: ImageLoader must be init with cconfiguration before using问题
- ImageLoader must be init with configuration before using
- ImageLoader must be init with configuration before using
- ImageLoader must be init with configuration before using 错误解决方法
- 解决使用imageload遇到ImageLoader must be init with configuration before using这种异常
- ImageLoader must be init with configuration before using
- ImageLoader must be init with configuration before using
- Android: ImageLoader must be init with configuration before using
- ImageLoader must be init with configuration before using
- ImageLoader must be init with configuration before using 错误解决方法
- Android ImageLoader must be init with configuration before using 错误解决方法
- ImageLoader must be init with configuration before using 错误解决方法
- IllegalStateException: ImageLoader must be init with configuration before using
- ImageLoader must be init with configuration before using
- 使用universalimageloader框架,出现ImageLoader must be init with configuration before using