Monitor Image Requests and Responses in Android Studio

Anoop
AndroidPub
Published in
2 min readFeb 13, 2018

--

In the previous story we have seen how to see the api requests and responses in Android Studio 3. This part is to see how to see the image requests and responses using popular image libraries like Picasso, Glide, Fresco and Universal Image Loader if somebody still using that.

To my surprise all of the image loading libraries request responses were available in the network profiler. I was expecting to configuring Fresco to use OkHttp to see the image request and responses. So basically all major image loading libraries uses HttpUrlConnection for downloading Images. So if you are using any of the library to load image and want to check what is the size of the image loaded or some similar details, its easy now with Android Studio 3.

Below are the screenshots of network image request and response from android studio for each image loading library.

Image loaded through Glide
Image loaded through Fresco
Image loaded through Universal Image Loader
Image Loaded through Picasso

--

--