flutter-packages icon indicating copy to clipboard operation
flutter-packages copied to clipboard

Google font fails to load

Open pravinhalady opened this issue 3 years ago • 2 comments

  • Tried to run codelab: https://codelabs.developers.google.com/codelabs/flutter-boring-to-beautiful#3
  • Montserrat font fails to load while running in gphone emulator, though google_fonts included in dependencies, and AndroidManifest.xml has correct perms (see attached files)

AndroidManifestxml.pdf pubspec_yaml.pdf google_font_error.pdf

pravinhalady avatar May 27 '22 23:05 pravinhalady

I think your emulator may not be connected to the internet. See https://stackoverflow.com/questions/42736038/android-emulator-not-able-to-access-the-internet

guidezpl avatar May 28 '22 11:05 guidezpl

It needs the internet to load the font asset from the server. When you connected to the internet it will resolve your issue.

ajinkya446 avatar Jul 18 '22 11:07 ajinkya446

Marking as closed - please let us know if you continue having issues, @pravinhalady. Thank you!

esouthren avatar Nov 07 '22 17:11 esouthren