For some reason, my image icon is getting an error, despite all of my attempts to fix it...
I have read this question where the answer suggests to make the image icon in the mitmap folder. So, I changed the line of code that I had from @drawable/myImage
to @mitmap/ic_launcher
You can see that there is an error on the image. Why could this be?
I have tried to:
- Clean project
- Rebuild project
- Made sure @mitmap/ic_launcher actually exists:
The error still persists, even after all of my attempts. I have been stuck on this for multiple hours, and I cant get my head around it. Is it a problem with my code, or android studio? I would really appreciate all of your help!
Thanks,
Ruchir