0

I tried to use a bitmap in my android project, importing android.graphics.Bitmap. But Bitmap class is missing. I can import other classes ,

android.graphics.BitmapFactory

android.graphics.BitmapRegionDecoder

android.graphics.BitmapShader

error images

enter image description here

I tried,

  • Rebuilding project
  • Cleaning project

But not helped. How can i solve this? Thank you.

DeeV
  • 35,865
  • 9
  • 108
  • 95
Malinda
  • 358
  • 5
  • 18

1 Answers1

1

I have the same problem, I update Android studio then

import android.graphics.Bitmap; 

worked.

4b0
  • 21,981
  • 30
  • 95
  • 142