-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Glide 4.0.0-RC0: AbstractMethodError on registerComponents() #1974
Comments
You're using 3.8.0's integration: |
@sjudd what would you think about adding a version mapping for all possible dependencies to the migration page? |
I'd be totally happy to review a change: http://bumptech.github.io/glide/dev/contributing.html#documentation |
Even I am getting the problem without any customization. Gradle-
In my Activity-
|
@jimitpatel do you have a GlideModule listed somewhere in your AndroidManifest.xml? |
@sjudd The class is as follows -
After this I have changed the word |
OkHttp3 integration shouldn't be 1.5.0, that's for 3.8.0. |
That gets merged into your manifest (see build directory for merged manifest). |
@TWiStErRob I am not sure what you trying to say. Is that you want me to change version of I am new to |
To make it clear, following will currently work:
|
@jimitpatel sorry, hasty texting while walking, thanks @MFlisar |
getting same error on glide version 4.1.1 |
@mhdtouban can you please show your version of the libs that @MFlisar listed? from your grade file or |
@TWiStErRob here you go |
Hey guys, why don't you update the documentation? There's still an old code snippet there. |
@Pei116 Mind pointing out what part of the document you're referring to? |
@sjudd I have to spend minutes to find out this latest code to integrate with OkHttp.
There's stupid code snippets titled 'OkHttp' and 'OkHttp 3' in your documentation. |
@Pei116 which page are you talking about? |
@TWiStErRob gettting some error in glide v4.1.1
Gradle : implementation 'com.squareup.okhttp3:okhttp:3.9.0'
implementation 'com.github.bumptech.glide:glide:4.1.1'
implementation 'com.github.bumptech.glide:okhttp3-integration:4.1.1@aar'
annotationProcessor 'com.github.bumptech.glide:compiler:4.1.1' |
Check your transitive dependencies. |
This issue has been automatically marked as stale because it has not had activity in the last seven days. It will be closed if no further activity occurs within the next seven days. Thank you for your contributions. |
FYI the documentation to which everyone's referring as being out-of-date is located here: https://github.com/bumptech/glide/wiki/Integration-Libraries#okhttp-3-with-gradle But the 4.1.1 version of the integration library seems to work for me. Thanks! |
add "@GlideModule"
|
Glide Version: 4.0.0-RC0
Integration libraries: okhttp3-integration
In my gradle:
My new Glide configuration:
For information getInitialOkHttpClientBuilder():
So, I've migrated v3 to v4 (http://bumptech.github.io/glide/doc/migrating.html). Migration and build are successful, but when I start my App, I have this crash now directly from the first GlideApp calling:
In my fragment:
I can't understand why. I checked several times the documentation.
Thank you very much for your support guys!
The text was updated successfully, but these errors were encountered: