Closed syukronmuttaqien closed 8 months ago
I am also getting same issue @syukronmuttaqien. Have you got any solution for this..?
Not Yet.., i'm still searching workaround for this.
Hi @jeffswartz , Please help us on this, why we are getting this ?
Hi @kundanthe,
I've try some method, i can successfully build my app through this step.
opentok-react-native
build.gradlecompileOptions {
sourceCompatibility JavaVersion.VERSION_1_11
targetCompatibility JavaVersion.VERSION_1_11
}
yarn patch-package opentok-react-native
and try to rebuild it.
but i don't know what the side-effect of this, but at least my apps can run.
After changing the gradle version and distribution Url its working now..
classpath 'com.android.tools.build:gradle:7.2.1' distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
If targeting to JAVA_11 then need to change the gradle version. https://developer.android.com/build/releases/past-releases/agp-7-0-0-release-notes
Hi @syukronmuttaqien, @kundanthe
Thanks for sharing your fixes.
As you commented above, you will need Gradle plugin 7 for JDK 11.
Please, reach out to Vonage support (https://api.support.vonage.com/hc/en-us) if you still need help.
Device: Macbook Air M2
Platform: React Native 0.67.5
Hi, i'm upgrading the library to the latest, and follow the instruction on the documentation. i can run it on IOS, but when i run on android. it's failing because of.
I Provide the screenshoot here.