Revert "fix(android): do not require java 8 target"
This reverts commit 9e0fee6c7d
.
WebRTC requires Java 8, and Java 7 is now considered unsupported:
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/discuss-webrtc/V1h2uQMDCkA/RA-uzncVAAAJ
This commit is contained in:
parent
9a06d2bf52
commit
c3f602b7b6
|
@ -106,10 +106,21 @@ repositories) continue below.
|
||||||
|
|
||||||
|
|
||||||
## Using the API
|
## Using the API
|
||||||
|
=======
|
||||||
|
|
||||||
Jitsi Meet SDK is an Android library which embodies the whole Jitsi Meet
|
Jitsi Meet SDK is an Android library which embodies the whole Jitsi Meet
|
||||||
experience and makes it reusable by third-party apps.
|
experience and makes it reusable by third-party apps.
|
||||||
|
|
||||||
|
First, 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
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
To get started, extends your `android.app.Activity` from
|
To get started, extends your `android.app.Activity` from
|
||||||
`org.jitsi.meet.sdk.JitsiMeetActivity`:
|
`org.jitsi.meet.sdk.JitsiMeetActivity`:
|
||||||
|
|
||||||
|
|
|
@ -25,12 +25,18 @@ android {
|
||||||
exclude '/lib/x86_64/**'
|
exclude '/lib/x86_64/**'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
compileOptions {
|
||||||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
Loading…
Reference in New Issue