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

runtime error with build tool version 26. on setFont() #2959

Closed
milap612 opened this issue Mar 16, 2018 · 3 comments
Closed

runtime error with build tool version 26. on setFont() #2959

milap612 opened this issue Mar 16, 2018 · 3 comments
Labels

Comments

@milap612
Copy link

the app gets to crash at runtime.
I m using your latest version 4.6.1 in an existing project which contains 26 build tool version.
the error log :-
" java.lang.NoSuchMethodError: No static method getFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroid/widget/TextView;)Landroid/graphics/Typeface; in class Landroid/support/v4/content/res/ResourcesCompat; or its super classes (declaration of 'android.support.v4.content.res.ResourcesCompat' appears in /data/app/com.simform.wifiapp.architecturecomponentdemo-1/base.apk)"

this is not happening in yr older version 4.6.0.
I have not used any font type in any XML file.
but because of glide latest version, it shows an error for to getFont().
please find the screenshot for reference.
glide_issue

@engineers-bojan
Copy link

engineers-bojan commented Mar 18, 2018

Same here. 4.6.0 works fine while 4.6.1 is throwing the error.

But checkout the latest docs regarding the compile versions and support library versions, it should give you a clear hint on what to change: http://bumptech.github.io/glide/doc/download-setup.html

@stale
Copy link

stale bot commented Mar 25, 2018

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.

@stale stale bot added the stale label Mar 25, 2018
@sjudd
Copy link
Collaborator

sjudd commented Mar 26, 2018

Duplicate of #2730

@sjudd sjudd marked this as a duplicate of #2730 Mar 26, 2018
@sjudd sjudd closed this as completed Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants