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

API 25 support #7

Open
MrHamidKhan opened this issue May 23, 2017 · 6 comments
Open

API 25 support #7

MrHamidKhan opened this issue May 23, 2017 · 6 comments

Comments

@MrHamidKhan
Copy link

App crashes immediately on API 25 (Android 7.1.1). Why not make the latest implementation the default one for API greater than 24, as suggested earlier?

@devfrey
Copy link

devfrey commented Jul 20, 2017

When will the fix be available from Gradle?

@RickBoyerDev
Copy link

Is this library dead? Seems like a critical problem to leave unresolved.

Anyone have a solution besides not using the library? Overall, it seems like a great solution, but this problem really makes it a deal-breaker.

@RickBoyerDev
Copy link

Well, looks like it doesn't matter anymore. Google finally added font resources to Android O / 8.0:
https://developer.android.com/guide/topics/resources/font-resource.html

And even better, they back-ported it to the Support Library so it supports API version 14 and higher:
https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml.html. (I've already verified it on Android 5 and Android 7!)

@jhansche
Copy link
Contributor

@NightSkyDev yup, that's why I've been dragging my feet on updating this :)
I'd suggest migrating to the official support library for this if you can.

Once I get time to start testing it, I'll put together a migration guide. It may require updating your play services dependency, especially if you intend to use downloadable fonts.

@RickBoyerDev
Copy link

Thanks @jhansche. I didn't realize this was in Android O until today when I was looking for a new solution. Fortunately, migrating is pretty easy thanks to how closely you followed the Google standard. I already have everything set up and tested on Android 5 and Android 7, but I'm not using downloadable fonts.

@RickBoyerDev
Copy link

FYI - I had to move to the Android Studio 3 Beta and Build Tools 3.+ beta to successfully compile the font resources. So if you get compile errors that the font files (ttf, otf, etc) aren't XML files, that's probably why.

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

4 participants