Nathaniel Jobs
Nathaniel Jobs

Reputation: 162

How to refresh image beside line number in Android Studio?

I am using Android Studio version 2.1.1 for developing an android application and I recently found something which I feel is a bug.

I like a feature that is, when I write code containing resources (ex, R.drawable.~~~), resource images are shown beside line number.

This is as well present in Android Studio versions 1.x.x

Recently I found that some images aren't getting displayed.

How can I fix this problem?

enter image description here

Upvotes: 1

Views: 132

Answers (1)

Sunshinator
Sunshinator

Reputation: 950

You might need to clean, invalidate cache and restart Android Studio like this:

1- go to android studio’s menu bar Build > Rebuild Project

2- go to android studio’s menu bar Build > Clean Project

3- got to android studio’s menu bar File > Invalidate Caches / Restart

If this doesn't work, see this for more information

Hope this helps

Upvotes: 1

Related Questions