Android UIL从外部URL加载AVD中的图像,但不';插入装置

Android UIL从外部URL加载AVD中的图像,但不';插入装置,android,universal-image-loader,avd,Android,Universal Image Loader,Avd,我使用从外部URL加载图像,它在AVD中运行良好 imageLoader.init(ImageLoaderConfiguration.createDefault(mContext)); imageLoader.displayImage("http://proyectocupones.hol.es/fotos/discount.jpg", holder.image); 我检查UIL库是否位于“Java构建路径”中,以及AndroidManyTest中的internet权限: <uses

我使用从外部URL加载图像,它在AVD中运行良好

imageLoader.init(ImageLoaderConfiguration.createDefault(mContext)); 
imageLoader.displayImage("http://proyectocupones.hol.es/fotos/discount.jpg", holder.image);
我检查UIL库是否位于“Java构建路径”中,以及AndroidManyTest中的internet权限:

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


知道错误可能在哪里吗?

我尝试用以下方法为播放器设置图像,效果很好。这样试试

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

您可以尝试在连接PC时调试手机,并检查logcat以查看输出和问题。

也许你没有在手机上启用互联网(?)

我终于为自己找到了答案:

只需升级UIL库(似乎是1.87版的一个bug),错误就解决了


无论如何谢谢你

使用滑翔,而不是UIL库