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)