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,472
  • 8
  • 105
  • 95
Malinda
  • 343
  • 5
  • 17

1 Answers1

0

I have the same problem, I update Android studio then

import android.graphics.Bitmap; 

worked.

4b0
  • 20,627
  • 30
  • 92
  • 137