【发布时间】:2016-09-03 19:22:34
【问题描述】:
希望你做得很好,我正在开发一个应用程序,因为我想将图像从 url 加载到 imageView,为此我使用了 Picasso lib,但它给了我未捕获的异常,我已经检查和调试因为是正确的 url 来还是不完美,我仍然面临这个问题,有人可以帮我解决这个问题吗?我的代码如下: 代码
Picasso.with(NewProfileActivity.this)
.load(mUser.userAvatarPath)
.into(iv_profile);
这里,“iv_profile”是imageView,mUser.userAvatar Path是图片url。
【问题讨论】:
-
@TimCastelijns - 它的 uncaughtException。
-
这并不意味着很多。包括堆栈跟踪
-
检查url是否正确
-
@SathishKumarJ - 这是我的网址。stush.net/Stoosh/api/Uploads/Pictures/171/…
标签: android url imageview picasso image-loading