Search code examples
androiduniversal-image-loaderandroid-virtual-device

UIL load images in AVD from external urls but doesn't in device


I'm using UIL to load images from external URLs, it works fine in AVD.

imageLoader.init(ImageLoaderConfiguration.createDefault(mContext)); 
imageLoader.displayImage("http://proyectocupones.hol.es/fotos/discount.jpg", holder.image);

I check that the UIL lib is in "Java Build Path" and the internet permission in my AndroidManyfest:

 <uses-permission android:name="android.permission.INTERNET" />

Any idea where the error might be?


Solution

  • I finally found the answer for myself:

    Github

    The error is solved just upgrading the UIL lib (Seems to be a bug of version 1.87)

    thanks anyway!