memx86
(Yevhen)
March 13, 2023, 5:18pm
1
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
chunsiong.zoom
(Chun Siong (tag me for response))
March 14, 2023, 3:20am
2
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?
memx86
(Yevhen)
March 14, 2023, 4:46pm
3
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.