mirror of
https://github.com/KRTirtho/spotube.git
synced 2026-09-20 06:34:00 +00:00
fix: use desugar_jdk_libs_nio for Android < 13 compatibility
- Switch from desugar_jdk_libs to desugar_jdk_libs_nio:2.0.4 - Fixes NoSuchMethodError for URLEncoder.encode(String, Charset) on Android 9/10 - Required by NewPipeExtractor for minSdk < 33 - Fixes #2880
This commit is contained in:
parent
69a310c78f
commit
38969397f6
4
.gitignore
vendored
4
.gitignore
vendored
@ -84,3 +84,7 @@ tm.json
|
|||||||
|
|
||||||
android/build
|
android/build
|
||||||
android/app/.cxx
|
android/app/.cxx
|
||||||
|
|
||||||
|
# Agent files
|
||||||
|
agent.md
|
||||||
|
.omo/
|
||||||
|
|||||||
@ -122,7 +122,7 @@ flutter {
|
|||||||
|
|
||||||
def glanceVersion = "1.1.1"
|
def glanceVersion = "1.1.1"
|
||||||
dependencies {
|
dependencies {
|
||||||
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.4'
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs_nio:2.0.4'
|
||||||
|
|
||||||
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'
|
||||||
// other deps so just ignore
|
// other deps so just ignore
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user