Android IDE (AIDE) Support Forum

Picasso api import gradle ide erorr

Try replacing it. Aide does not download everything Picasso and retrofit need.

implementation 'com.squareup.picasso:picasso:2.71828'

Works perfectly

Pm me i can fix that

Now Im having the same issue , tried downgrading AIDE, changing Picasso versions, still the same problem, so I decided to get rid of that library , for loading an image from server there is a better way. I can show you guys an example grabbed from GitHub.

Example using a recycler view adapter
This goes onBindViewHolder

String imgUrl = mData.get(position).getCoverUrl();
if (imgUrl != null) {
new DownloadImageTask(holder.coverImg).execute(imgUrl);
}

This goes on Bottom as a private class

private class DownloadImageTask extends AsyncTask<String, Void, Bitmap> {
ImageView bmImage;
public DownloadImageTask(ImageView bmImage) {
this.bmImage = bmImage;
}

	protected Bitmap doInBackground(String... urls) {
		String urldisplay = urls[0];
		Bitmap bmp = null;
		try {
			InputStream in = new java.net.URL(urldisplay).openStream();
			bmp = BitmapFactory.decodeStream(in);
		} catch (Exception e) {
			Log.e("Error", e.getMessage());
			e.printStackTrace();
		}
		return bmp;
	}
	protected void onPostExecute(Bitmap result) {
		bmImage.setImageBitmap(result);
	}
}

This process download the image and set it as an src drawable,

You can use it along circleimageview library.