Comments (4)
Got it. Thanks.
from filekit.
Sorry, I'm not sure to understand your issue.
On Android apps, based on XML or not, we are able to change minsdk version.
Can you describe your problem a little more?
from filekit.
My apology, not a english speaker.
I meant , i tried the library on a xml based android app which had a minSdk 21 but gradle was complaning pickerKotlin library had set its own minsdk to 24. Thus i cant use the library unless i set my minSdk to 24.
Let me post the error.
app:processDebugMainManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 24 declared in library [io.github.vinceglb:picker-core-android:0.2.0] /data/data/com.itsaky.androidide/files/home/.gradle/caches/transforms-4/d4ef3309bf3cee7474edaaff30a1b4f9/transformed/picker-core-release/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 24,
or use tools:overrideLibrary="io.github.vinceglb.picker" to force usage (may lead to runtime failures)
I noticed the title lacks a semi colon . Will change it.
from filekit.
I have lowered the minSdk to enable using it with android minSdk 21 (it was 24 earlier).
To update, use the version 0.2.1
: implementation("io.github.vinceglb:picker-core:0.2.1")
And also, in your build.gradle
, make sure to set minSdk = 21
like:
android {
namespace = "..."
compileSdk = 34
defaultConfig {
minSdk = 21 // <-- put 21 here
targetSdk = 34
}
...
Android API 16 to 20 are not supported by the library.
from filekit.
Related Issues (20)
- [win] Bug: File extension filters persist across invocations HOT 1
- Android: AutoInitialize libray? HOT 4
- Not localized on macOS (JVM) HOT 2
- Option to use the better file picker on Windows HOT 3
- Encountered an issue while using the Save File Picker HOT 3
- Js target is missing for filekit-compose HOT 5
- Unable to locate JNA native support library HOT 5
- ReadBytes() crashes on iOS sometimes HOT 5
- Add Feature to Limit number of Images that can be picked HOT 10
- Android Preview does not function HOT 2
- Please provide file-stream HOT 1
- Ios video picker error HOT 2
- Problems when creating Release Distributable for Desktop with Proguard HOT 7
- readByte() crashes when running application on a real device HOT 5
- Add Xdg Desktop File Chooser Portal for Linux
- IOS
- Feature to pick and store files from a specific path without File Picker
- When no MIME type is found in Picker on Android no files can be selected HOT 2
- ClassCastException on desktop when canceling pick dialog HOT 2
- Android/iOS Camera Support planned?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filekit.