Closed Mihai-github closed 1 month ago
you can try
I have the same problem, is there any way to solve it? Error message: "Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1."
I used to RN 0.72.0
@h-dung-95
try set compileSdkVersion
& targetSdkVersion
(in build.gradle) to 34
and kotlinVersion
to 1.9.0
@KrzysztofMoch
try set compileSdkVersion & targetSdkVersion (in build.gradle) to 34 and kotlinVersion to 1.9.0
After setting these and also adding classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
statement inside dependencies in my build.gradle file, things are working fine for me now in my React Native(version 0.73.4) project
btw I am using react-native-video version ^6.3.0
Thanks!
Version
^6.4.1
What platforms are you having the problem on?
Android
System Version
React Native
On what device are you experiencing the issue?
Real device, Simulator
Architecture
Old architecture
What happened?
Reproduction
Just trying to compile for release the application