Doubt of beginner javax.imageio library

Asked

Viewed 189 times

3

I’m trying to make this import in java studio

import javax.imageio.ImageIO;
import javax.imageio.ImageReader;
import javax.imageio.stream.ImageInputStream;

but I’m coming up with this mistake:

cannot resolve Symbol'Imageio'

How can I fix this?

1 answer

1

The problem is that this class is not supported for Android. In case you try to search this class on Developer.Android, you’ll see she doesn’t show up.

According to that one question asked on Soen, you can use class Bitmap.

Browser other questions tagged

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