Comments (15)
You can use the older version 1.1.1
, but if you have to use newer version you have to migrate to androidx.
from filepicker.
I found another way to solve the problem by using fork project. π
I fork the project and revert the commit 21c0bb9
then apply the new gradle dependencies with new jitpack path
dependencies {
implementation 'com.github.j796160836:FilePicker:master_without_androidx-SNAPSHOT'
}
Details is in here.
https://github.com/j796160836/FilePicker/tree/master_without_androidx
It works like a charm.
from filepicker.
Great!
from filepicker.
I found it maybe this commit 21c0bb9 cause the problem.
from filepicker.
Yeah, I tried the older version 1.1.1
I got another exceptions
java.lang.NoSuchMethodError: No virtual method optionalCenterCrop()Lcom/bumptech/glide/request/RequestOptions; in class Lcom/bumptech/glide/request/RequestOptions; or its super classes (declaration of 'com.bumptech.glide.request.RequestOptions' appears in /data/app/................/split_lib_dependencies_apk.apk)
at com.jaiselrahman.filepicker.adapter.FileGalleryAdapter.<init>(FileGalleryAdapter.java:75)
at com.jaiselrahman.filepicker.activity.FilePickerActivity.onCreate(FilePickerActivity.java:100)
at android.app.Activity.performCreate(Activity.java:7009)
at android.app.Activity.performCreate(Activity.java:7000)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
It seems glide version not match for the project (version too old).
from filepicker.
I found another way to solve the problem by using fork project. π
I fork the project and revert the commit 21c0bb9then apply the new gradle dependencies with new jitpack path
dependencies { implementation 'com.github.j796160836:FilePicker:master_without_androidx-SNAPSHOT' }
Details is in here.
https://github.com/j796160836/FilePicker/tree/master_without_androidxIt works like a charm.
Please pardon my ingorance.
I used that, and still got the same "Manifest merger failed with multiple errors, see logs".
It's a pretty simple project, doesn't use AndroidX, and the min SDK version is 15.
The only 3rd party lib used is https://github.com/SUPERCILEX/poi-android (for dealing with XLSX files).
Here is my source code: http://157.230.131.4/tmp/v1/StockChecker.zip
from filepicker.
@anta40 You just have to remove the line tools:replace="android:appComponentFactory"
from manifest file.
from filepicker.
@jaiselrahman
I am also getting the same error
java.lang.NoSuchMethodError: No virtual method optionalCenterCrop()Lcom/bumptech/glide/request/RequestOptions; in class Lcom/bumptech/glide/request/RequestOptions; or its super classes
Version used :implementation 'com.github.jaiselrahman:FilePicker:1.1.1'
Please help to resolve the issue without migrating to androidX
from filepicker.
Which glide version are you using?
Make sure you are using glide version 4.9.0 or greater. See #19.
from filepicker.
I am not using Glide.
But I am using another picker for single image selection.
implementation 'gun0912.ted:tedbottompicker:2.0.1'
Which also uses Glide may be because of it the issue is occurring.
from filepicker.
Which version of the library are you using?
from filepicker.
implementation 'gun0912.ted:tedbottompicker:2.0.1'
implementation 'com.github.jaiselrahman:FilePicker:1.1.1'
from filepicker.
Try using the latest version along with
tools:replace="android:appComponentFactory"
in the manifest file <application .../>
tag.
from filepicker.
Or you can use the following version
implementation 'com.github.j796160836:FilePicker:master_without_androidx-SNAPSHOT'
from filepicker.
Okay. I will check once
from filepicker.
Related Issues (20)
- ArrayIndexOutOfBoundsException length=0; index=0 error on android 10 HOT 2
- setCheckPermission to true did not prompt dialog to getting permison HOT 5
- 沑ζ³ε θ½½εε¨ε‘δΈηζδ»Ά
- HTML Files are not showing
- Change theme / style HOT 1
- Library causes ANR: Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x50200010 (has extras) }
- SQLiteException Exception
- Can not capture image or video in android 11 HOT 1
- [Bug] toast with "Permission not granted" is shown with pick images from gallery on device with android 10 HOT 3
- Unable to select document from one drive
- Os 11 issue HOT 2
- Not all file is showing for a custom extention HOT 1
- ANR because Class Configuration not found when unmarshalling
- Images not showing and folder showing black and image thumbnail blank
- ANR when opening FilePickerActivity with a large Data set HOT 2
- Unresolved reference
- This project may have stopped maintenance, you can look at my project: automatic application for storage permission, support Android 4.4 ~ 12, support Android/data directory access, support SD card https://github.com/molihuan/mlhfileselectorlib/blob/master/README_EN.md
- Android 13 storage permission issue HOT 3
- pick videos which has only 30 seconds duration
- public class "PickFile" not resolved for the version com.github.jaiselrahman:FilePicker:1.3.2
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 filepicker.