IllegalStateException: ImageLoader must be init with configuration before using
2014-07-24 04:59
916 查看
Android-Universal-Image-Loader下载图片 ,用起来非常的方便,但今天再次使用Android-Universal-Image-Loader 总是抛出这样一个问题:java.lang.RuntimeException: ImageLoader must be init with configuration before using无语了,之前这样用还行的,换个项目做就不能用了!解决方法是在使用imageLoader方法的那个类的oncreat方法中加一句话,这样就初始化imageLoader了:
imageLoader.init(ImageLoaderConfiguration.createDefault(MainActivity.this));注意:这句话加在imageview控件被使用之前
imageLoader.init(ImageLoaderConfiguration.createDefault(MainActivity.this));注意:这句话加在imageview控件被使用之前
相关文章推荐
- 解决ImageLoader must be init with configuration before using
- java.lang.RuntimeException: 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
- ImageLoader must be init with configuration before using
- ImageLoader must be init with configuration before using 错误解决方法
- 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
- 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 错误解决方法
- ImageLoader must be init with configuration before using
- 使用universalimageloader框架,出现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 错误解决方法