Open DavidNguyen67 opened 6 months ago
@DavidNguyen67 Hi if this is still bothering you, you can try to add the compileOptions to android/build.gradle in node_modules/react-native-vlc-media-player instead.
I fixed the error by doing so and then create a patch file for this as well.
oh hi @chuanmin13, thank for replying me can you show me what compileOptions i need to add
Just the same as you did here should be good!
android { compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } }
Just the same as you did here should be good!
android { compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } }
i did it before, but it not work i fixed it by go to android studio, chose quick fix and turn it into @anonymous
i tried to update android/app/build.gradle
and more ways but its not working someone can help me plz
Error![image](https://github.com/razorRun/react-native-vlc-media-player/assets/139251794/9790885d-3dd2-4386-8562-b1d812b47654)
environment variables
![image](https://github.com/razorRun/react-native-vlc-media-player/assets/139251794/6754f088-819f-4ae4-9310-a3ec434e519d)
node version: 16.13.2
packages in project