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

Issue using Glide #47

Open
AlexGZC opened this issue Mar 21, 2019 · 13 comments
Open

Issue using Glide #47

AlexGZC opened this issue Mar 21, 2019 · 13 comments

Comments

@AlexGZC
Copy link

AlexGZC commented Mar 21, 2019

I have facing with this issue that I am not able to solve yet:
java.lang.NoSuchMethodError: No virtual method centerCrop()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/com.example.autoffacil.myapplication-2/split_lib_dependencies_apk.apk)

Can someone help me?

@werbhelius
Copy link
Owner

Try to remove Gilde from the pickphotoview and Dependency newest Glide in your project

@DJDrama
Copy link

DJDrama commented Jun 7, 2019

Any updates? @werbhelius you mean downgrade the latest Glide version??
I am just using Builder and what you mean by "remove Glide from the pickphotoview"?

@yarodevuci
Copy link

No virtual method centerCrop()Lcom/bumptech/glide/request/RequestOptions; in class Lcom/bumptech/glide/request/RequestOptions

@yarodevuci
Copy link

@AlexGZC @DJDrama any solutions so far?

@yarodevuci
Copy link

I tried this:

implementation ('com.werb.pickphotoview:pickphotoview:0.4.8',{
exclude group: 'com.github.bumptech.glide'
})

Same issue...

@yarodevuci
Copy link

downgraded Glide to 4.8.0 ...

@werbhelius
Copy link
Owner

werbhelius commented Jun 18, 2019

@yarodevuci I think this may be a problem with Android Studio compilation. try to delete build dir and clean Android Studio Cache then rebuild project

@DJDrama
Copy link

DJDrama commented Jun 18, 2019

@yarodevuci i started using other library instead which doesnt have any conflicts with the latest Glide version

@yarodevuci
Copy link

@DJDrama what other library are you using?
@werbhelius that's first thing I tried. Did not helped.

@rayliverified
Copy link
Contributor

I forked this library and maintain it on my own branch. Critical differences is it's written in Java, keeps the old v3.0 UI which I think looks better, Glide is up to date, and uses native Glide image loading instead of a custom implementation.
https://github.com/searchy2/PickPhotoSample

@yarodevuci
Copy link

@DJDrama Thanks!

@DJDrama
Copy link

DJDrama commented Jun 26, 2019

@yarodevuci Sorry for late reply~
i am using below link one. it has like 2k stars which more robust
https://github.com/yanzhenjie/Album

@Pintu00-sys
Copy link

Pintu00-sys commented May 28, 2022

You can try glide 4.1.1 version issue may be solve.

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

6 participants