I am using Android Studio 3.0.1, I have a simple xml file with root ConstraintLayout
, so when I do preview and drag and drop
an ImageView
from the Preview
Palette
, it is not able to find the new added png file, which I have copy/paste directly in the project directory, not in Android Studio.
I have tried clean, rebuild but it is still not able to find the image.
I know that it will work if I restart
it but I think that it is not a good idea to restart
each and every time I add a new png file.
Is this a bug in Android Studio
?
Have anyone else experienced this?