Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ksoup v0.2.1 forces to use minSdk version to at least 23 on Android #101

Open
mxkmn opened this issue Dec 3, 2024 · 1 comment
Open
Assignees

Comments

@mxkmn
Copy link

mxkmn commented Dec 3, 2024

Describe the bug
A cumulative upgrade should not require a minSdk upgrade. It will force many applications to stay on the deprecated version of ksoup.

To Reproduce
Steps to reproduce the behavior:
Use Ksoup v0.2.1 in minSdk 21 android project.

Expected behavior
Use Ksoup v0.2.1 in all actual android projects, not with inflated Android version requirements.

Sample Code

> Task :app:chronus:processDebugMainManifest FAILED
...\app\chronus\src\main\AndroidManifest.xml Error:
	uses-sdk:minSdkVersion 21 cannot be smaller than version 23 declared in library [com.fleeksoft.io:io-android:0.0.2] ...\.gradle\caches\8.11\transforms\6a8142518b2a3c5ced6e7ef66eccd586\transformed\io-release\AndroidManifest.xml as the library might be using APIs not available in 21
	Suggestion: use a compatible library with a minSdk of at most 21,
		or increase this project's minSdk version to at least 23,
		or use tools:overrideLibrary="com.fleeksoft.io" to force usage (may lead to runtime failures)

Additional context
If current com.fleeksoft.io can't be used with minSdk 21, it should depends on something like com.fleeksoft.io-lite.

@itboy87
Copy link
Collaborator

itboy87 commented Dec 4, 2024

@mxkmn I will update the minimum SDK to 21 starting from the upcoming version 0.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants