🌻 A pluggable, highly optimized Jetpack Compose and Kotlin Multiplatform image loading library that fetches and displays network images with Glide, Coil, and Fresco.
Duplicate class androidx.palette.graphics.Palette found in modules androidx-palette-debug-runtime (com.kmpalette:androidx-palette-android-debug:2.2.0) and palette-1.0.0-runtime (androidx.palette:palette:1.0.0).
Manifest merger failed : uses-sdk:minSdkVersion 21 cannot be smaller than version 24 declared in library [com.github.skydoves:landscapist-palette-android:2.3.0] [...]/landscapist-palette-release/AndroidManifest.xml as the library might be using APIs not available in 21
Solution:
Please update the kmpalette library to at least verison 3.0.0 (there fixed the problem with duplicate classes and minSdk)
Library: com.github.skydoves:landscapist-palette-android Library Version: v2.3.0
Describe the Bug:
On my project minSdk = 21. Uses:
com.github.skydoves:landscapist-palette:2.3.0
androidx.palette:palette:1.0.0
Errors occur during compilation:
Duplicate class androidx.palette.graphics.Palette found in modules androidx-palette-debug-runtime (com.kmpalette:androidx-palette-android-debug:2.2.0) and palette-1.0.0-runtime (androidx.palette:palette:1.0.0)
.Manifest merger failed : uses-sdk:minSdkVersion 21 cannot be smaller than version 24 declared in library [com.github.skydoves:landscapist-palette-android:2.3.0] [...]/landscapist-palette-release/AndroidManifest.xml as the library might be using APIs not available in 21
Solution: