Question:
I'm trying to do this import in java studio
import javax.imageio.ImageIO;
import javax.imageio.ImageReader;
import javax.imageio.stream.ImageInputStream;
but I'm getting this error:
cannot resolve symbol'ImageIO'
How can I fix this?
Answer:
The problem is that this class is not supported for Android. If you try looking for this class in Developer.Android , you'll see that it doesn't appear.
According to this question asked in SOen, you can use the Bitmap class.