Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

[Android] Enable Java 1.8 compatibility support

Saúl Ibarra Corretgé9c2849a66303
diff --git a/android/README.md b/android/README.md
index 15d1a8de20..f7d3922458 100644
--- a/android/README.md
+++ b/android/README.md
@@ -43,6 +43,16 @@ Add the Maven repository
`https://github.com/jitsi/jitsi-maven-repository/raw/master/releases` and the
dependency `org.jitsi.react:jitsi-meet-sdk:1.9.0` into your `build.gradle`.
+Add Java 1.8 compatibility support to your project by adding the following lines
+into your `build.gradle` file:
+
+```
+compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+}
+```
+
## API
Jitsi Meet SDK is an Android library which embodies the whole Jitsi Meet
diff --git a/android/app/build.gradle b/android/app/build.gradle
index d39edca603..017b855e32 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -31,6 +31,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
}
dependencies {