2016-12-05 41 views
-2

我使用​​加載來自外部URL的圖像,它在AVD中正常工作。UIL從外部URL加載AVD中的圖像,但未加載設備

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

我檢查UIL庫在「Java構建路徑」和互聯網的權限在我AndroidManyfest:

​​

任何想法,錯誤可能是什麼?

回答

1

我終於找到了自己的答案:

Github

錯誤解決僅僅升級UIL LIB(好像是一個版本1.87的bug)

謝謝反正!

0

我試着用下面的方法爲播放器設置圖像,它工作。試試這種方式。

ImageLoader.getInstance().displayImage("Image URL","thumbImageView"); 
0

您可以嘗試在PC上連接時調試手機,並檢查logcat以查看輸出和問題。 (?)
也許你不已經啓用手機上網

0

使用Glide取代UIL庫。