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

Please Upgrade minimum SDK to at least 19 #290

Open
haole91 opened this issue Oct 23, 2024 · 1 comment
Open

Please Upgrade minimum SDK to at least 19 #290

haole91 opened this issue Oct 23, 2024 · 1 comment

Comments

@haole91
Copy link

haole91 commented Oct 23, 2024

Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [com.github.mhiew:android-pdf-viewer:3.2.0-beta.3] transformed/jetified-android-pdf-viewer-3.2.0-beta.3/AndroidManifest.xml as the library might be using APIs not available in 16
Suggestion: use a compatible library with a minSdk of at most 16,
or increase this project's minSdk version to at least 19,
or use tools:overrideLibrary="com.github.barteksc.pdfviewer" to force usage (may lead to runtime failures)

@Faiizii
Copy link

Faiizii commented Dec 4, 2024

Open your android project, then go to the gradle file of this plugin. there you can change the minimum SDK version to 16 for your project only. No need for change at repository level.

However, be careful choosing the minimum support SDK version since this library is using native pdf library. changing supporting SDK range may lead to unexpected behaviour due to deprecated functionality

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