Android: minSdkVersion 17 cannot be smaller than version 23
See original GitHub issuehey,
I am trying to add nativescript-fingerprint-auth.
When I build for Android, I am getting this error:
* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 17 cannot be smaller than version 23 declared in library [com.github.JesusM:FingerprintManager:v2.0.2] /Users/witalec/.gradle/caches/transforms-1/files-1.1/FingerprintManager-v2.0.2.aar/cbc3c418a7ed90935aaea75c6cf2ad9a/AndroidManifest.xml as the library might be using APIs not available in 17
Suggestion: use a compatible library with a minSdk of at most 17,
or increase this project's minSdk version to at least 23,
or use tools:overrideLibrary="com.jesusm.kfingerprintmanager" to force usage (maylead to runtime failures)
my AndroidManifest.xml
has the following setting:
<uses-sdk
android:minSdkVersion="23"
android:targetSdkVersion="__APILEVEL__"/>
My runtime is:
"tns-android": {
"version": "4.0.0-rc-2018.3.22.1"
}
but I also tried with:
"tns-android": {
"version": "3.4.0"
}
I am using NativeScript@rc
Any idea what I am doing wrong?
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (5 by maintainers)
Top Results From Across the Web
uses-sdk:minSdkVersion 15 cannot be smaller than version ...
This solved my problem. Right click on app folder in android studio, select 'open module settings' | or ...
Read more >Manifest merger failed : uses-sdk:minSdkVersion 19 cannot ...
Manifest merger failed : uses-sdk:minSdkVersion 19 cannot be smaller than version 22 declared in library #1070.
Read more ><uses-sdk> | Android Developers
If a android:minSdkVersion attribute is declared, its value must be less than or equal to the system's API Level integer. If not declared,...
Read more >uses-sdk:minSdkVersion 11 cannot be smaller than version L
Recently I was receiving this error. Manifest merger failed : uses-sdk:minSdkVersion 11 cannot be smaller than version L. So I changed it to...
Read more >[Solved][Flutter] Manifest merger failed : uses-sdk ...
... failed : uses-sdk:minSdkVersion 16 cannot be smaller than version ... modify the minimum SDK version of Android in the Flutter project.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Another workaround I’ve just figured out, is to manipulate your
App_Resources/Android/AndroidManifest.xml
manually and adding what @EddyVerbruggen mentioned before:<uses-sdk tools:overrideLibrary="com.jesusm.kfingerprintmanager"/>
Important: It needs to be before the the line that defines your minSdkVersion.
Did this actually get reported to NS team? It’s still an issue, and I don’t like having to target minimum 23.