From 0c6b47f42c0b24a51c07b097809326bed512a7e7 Mon Sep 17 00:00:00 2001 From: Olivier Bouillet <62574056+freeboub@users.noreply.github.com> Date: Sun, 29 Sep 2024 20:46:11 +0200 Subject: [PATCH] docs: remove desugaring section as no more need on media3 1.4.1 (#4206) --- docs/pages/other/debug.md | 5 ----- examples/basic/android/app/build.gradle | 6 ------ 2 files changed, 11 deletions(-) diff --git a/docs/pages/other/debug.md b/docs/pages/other/debug.md index 74c8bfd1..a123e38c 100644 --- a/docs/pages/other/debug.md +++ b/docs/pages/other/debug.md @@ -86,11 +86,6 @@ buildscript { } ``` -### Desugaring -to be able to link you may also need to enable coreLibraryDesugaringEnabled in your app. - -See: https://developer.android.com/studio/write/java8-support?hl=fr#library-desugaring for more informations. - ## It's still not working You can try to open a ticket now ! diff --git a/examples/basic/android/app/build.gradle b/examples/basic/android/app/build.gradle index 8d8826d0..8234f548 100644 --- a/examples/basic/android/app/build.gradle +++ b/examples/basic/android/app/build.gradle @@ -83,10 +83,6 @@ android { namespace "com.videoplayer" compileOptions { - // These options are necessary to be able to build from source - // coreLibraryDesugaringEnabled is mandatory to be able to build exoplayer from source - // uncomment this line if you want to build from source - // coreLibraryDesugaringEnabled true sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } @@ -157,8 +153,6 @@ dependencies { because("kotlin-stdlib-jdk8 is now a part of kotlin-stdlib") } } - // coreLibraryDesugaring is mandatory to be able to build exoplayer from source - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4' } apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)