Errors in Android Studio

Video SDK Type and Version
@zoom1234/react-native-videosdk”: “^1.6.2”

Description
I have such errors when I run the project in Android Studio

error: package android.graphics does not exist
import android.graphics.Bitmap;

error: cannot find symbol
Bitmap bitmap = BitmapFactory.decodeFile(filePath);
^
symbol: class Bitmap

How can I resolve this issue?

  • Device: MacBook Pro
  • OS: macOS Monterey 12.6.3
  • Android Studio Electric Eel | 2022.1.1

Hi @memx86 could you share more information regarding this error?

Was this encountered with the sample application?
Which version of Android Video SDK did you copy the AAR libraries from?
Which folder did you open up within Android Studio?

Thanks for your reply.
Actually I managed to fix this issue by updating Gradle Version to 7.3.3 and Android Gradle Plugin Version to 7.1.3.