Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

No virtual method optionalCenterCrop() #72

Open
mohsinabid opened this issue Jul 23, 2020 · 7 comments
Open

No virtual method optionalCenterCrop() #72

mohsinabid opened this issue Jul 23, 2020 · 7 comments

Comments

@mohsinabid
Copy link

Fatal Exception: java.lang.NoSuchMethodError: No virtual method optionalCenterCrop()Lcom/bumptech/glide/request/BaseRequestOptions; in class Lcom/bumptech/glide/f/e; or its super classes (declaration of 'com.bumptech.glide.f.e' appears in base.apk)
at com.jaiselrahman.filepicker.adapter.FileGalleryAdapter.(FileGalleryAdapter.java:77)
at com.jaiselrahman.filepicker.activity.FilePickerActivity.onCreate(FilePickerActivity.java:123)

@mohsinabid
Copy link
Author

@jaiselrahman Please try to resolve this issue ASAP because its really hurting my app.

@jaiselrahman
Copy link
Owner

Which version of glide you are using? Please try changing it to 4.10.0 or up.

@mohsinabid
Copy link
Author

mohsinabid commented Jul 23, 2020

implementation('com.github.jaiselrahman:FilePicker:1.3.2') {
exclude group: "com.github.bumptech.glide"
exclude group: "com.android.support:recyclerview-v7"
}

if I use glide in my app or not but still i get same error

implementation 'com.github.bumptech.glide:glide:4.10.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'

@mohsinabid
Copy link
Author

FileGalleryAdapter.java line 77
com.jaiselrahman.filepicker.adapter.FileGalleryAdapter.
This issue has 6295 crashes affecting 2972 users
Last 7 days
17 Jul – 23 Jul

@jaiselrahman
Copy link
Owner

Try using same version for annotation processor.

@mohsinabid
Copy link
Author

Should I remove exclude group as well ?

implementation('com.github.jaiselrahman:FilePicker:1.3.2') {
exclude group: "com.github.bumptech.glide"
exclude group: "com.android.support:recyclerview-v7"
}

@jaiselrahman
Copy link
Owner

Yes

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

No branches or pull requests

2 participants