[FIX] Support Android SDK 31 (#4522)

This commit is contained in:
Diego Mello 2022-09-13 16:02:01 -03:00
parent 3e91dadfc6
commit e595e6acf8
1 changed files with 3 additions and 4 deletions

View File

@ -13,8 +13,7 @@ buildscript {
buildToolsVersion = "31.0.0" buildToolsVersion = "31.0.0"
minSdkVersion = 23 minSdkVersion = 23
compileSdkVersion = 31 compileSdkVersion = 31
// TODO: Fix "android:exported" issue and target 31 again targetSdkVersion = 31
targetSdkVersion = 30
if (System.properties['os.arch'] == "aarch64") { if (System.properties['os.arch'] == "aarch64") {
// For M1 Users we need to use the NDK 24 which added support for aarch64 // For M1 Users we need to use the NDK 24 which added support for aarch64
ndkVersion = "24.0.8215888" ndkVersion = "24.0.8215888"
@ -27,8 +26,8 @@ buildscript {
kotlinVersion = '1.6.10' kotlinVersion = '1.6.10'
supportLibVersion = "28.0.0" supportLibVersion = "28.0.0"
libre_build = !(isPlay.toBoolean()) libre_build = !(isPlay.toBoolean())
jitsi_url = isPlay ? "https://github.com/RocketChat/jitsi-maven-repository/raw/master/releases" : "https://github.com/RocketChat/jitsi-maven-repository/raw/libre/releases" jitsi_url = "https://github.com/RocketChat/jitsi-maven-repository/raw/master/releases"
jitsi_version = isPlay ? "3.6.0" : "3.6.0-libre" jitsi_version = "3.7.0"
} }
repositories { repositories {