Android Studio does not recognize images

1

People,myAndroidStudiohereisnotrecognizingtheimagesIputinthedrawablefolder.Idraggedsiximagesthere,threeofthemIcouldaccessnormally,theotherthreeIcannot.Anyidea?TotestItriedtoaddotherimagesandaccessthemandIcouldnot.

Theyareallpng,alllowercasenames.Detail:IfIdonottrytoaccesstheseimages,theprojectcompilesnormally.Linktotheproblematicprojectifanyoneiscurious:

link

    
asked by anonymous 02.02.2018 / 15:24

2 answers

1

To reference the images in the drawable folder, the correct one is to use R.drawable.recurso

    
02.02.2018 / 16:05
0

Take a look at the format of the image, maybe they could be in a format that android studio can not read, try to use .png, to change the format you can use photoshop or any other program that does it.     

02.02.2018 / 15:44