0

I am trying to follow the link below for the code for a Image viewing app in android.

android image "viewer" app

But I am getting an error with the r.raw.image1. (also on raw.image2 and image3). I have saved the images in the asset folder. Error says raw cannot be resolved or is not a field. I have checked various documentations for this but am unable to understand what i am doing wrong. The code is exactly the same as in the above link.

1 Answers1

0

Try to save your image into res/raw folder.

Boopathi
  • 226
  • 1
  • 4
  • 18