Code does not recognize image from xhdpi folder

Asked

Viewed 93 times

0

I saved some images directly in the drawable folder. These, Android Studio recognizes normally. But the images saved in the folders mdli, hdpi, xhdpi, xxhdpi and xxxhdpi the code does not recognize and gives error. Does anyone know tell what might be happening? Thanks!

  • 1

    What mistake are you making?

  • Files that are in dpi, xhdpi, etc., do not appear in the options list when I type R.drawable

  • and if I type R.drawable.image the code turns red, as if the file did not exist

  • How you added these images?

  • I saved directly by Finder (Mac)

  • http://stackoverflow.com/q/29294287/6809703

  • @Totallyuncool Now yes! muuuuito thanks. I will come the night trying to understand this. Now I will try to sleep. hehe

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.