java.lang.RuntimeException: ImageLoader must be init with configuration before using的解决方法
2015-04-19 14:06
711 查看
这两天想引用用ImageLoader这个开源项目,一直出现java.lang.RuntimeException: ImageLoader must be init with configuration before using这个异常:
可能情况:
(1)要进行初始化mageLoader.init(ImageLoaderConfiguration.createDefault(MainActivity.this));
(2)在Android Manifest.xml文章中,在mannifast.xml的application中注册这个全局类,例如:android:name=”com.leegh.universalimageloader.UILApplication”,这个类继承Application,要重写onreat方法,在里面初始化Imagerloader。
可能情况:
(1)要进行初始化mageLoader.init(ImageLoaderConfiguration.createDefault(MainActivity.this));
(2)在Android Manifest.xml文章中,在mannifast.xml的application中注册这个全局类,例如:android:name=”com.leegh.universalimageloader.UILApplication”,这个类继承Application,要重写onreat方法,在里面初始化Imagerloader。
相关文章推荐
- 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 错误解决方法
- androidの异常:java.lang.IllegalStateException: ImageLoader must be init with configuration befor 错误解决方法
- 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 错误解决方法
- Android 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
- 开源项目Universal Image Loader :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
- Android: ImageLoader must be init with configuration before using
- ImageLoader must be init with configuration before using