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

not load this fonts

Open deepak-9756 opened this issue 1 year ago • 1 comments

Package

All packages

Existing issue?

What happened?

Expected vs actual result:

Steps to reproduce:

not load fonts in my code

Relevant log output

----------------FIREBASE CRASHLYTICS----------------
I/flutter (11931): Exception: Failed to load font with url https://fonts.gstatic.com/s/a/a05eb17c43309b14b916303c48995b19407a7cdcf47bc6d8085d464722627918.ttf: Failed host lookup: 'fonts.gstatic.com'
I/flutter (11931): 
I/flutter (11931): #0      _httpFetchFontAndSaveToDevice (package:google_fonts/src/google_fonts_base.dart:256:5)
I/flutter (11931): <asynchronous suspension>
I/flutter (11931): #1      loadFontIfNecessary (package:google_fonts/src/google_fonts_base.dart:173:11)
I/flutter (11931): <asynchronous suspension>
I/flutter (11931): ----------------------------------------------------
I/flutter (11931): Error: google_fonts was unable to load font Poppins-SemiBold because the following exception occurred:
I/flutter (11931): Exception: Failed to load font with url https://fonts.gstatic.com/s/a/a24a61e9a408f85504dcdcd11edc4995adceb4ab585c0011f39cfbe193248b71.ttf: Failed host lookup: 'fonts.gstatic.com'
I/flutter (11931): 
I/flutter (11931): See https://docs.flutter.dev/development/data-and-backend/networking#platform-notes.
I/flutter (11931): If troubleshooting doesn't solve the problem, please file an issue at https://github.com/material-foundation/flutter-packages/issues/new/choose.

deepak-9756 avatar Sep 05 '24 04:09 deepak-9756

I have the same problem, this don't doesn't load https://fonts.gstatic.com/s/a/9ecfd020e9cc0b676025df8390c0dc8cc2062523540887dd04bec0ef4d5a449c.ttf returns 404

JSBmanD avatar Oct 13 '24 20:10 JSBmanD

Please see https://github.com/material-foundation/google_fonts_flutter/issues/25 for troubleshooting steps

guidezpl avatar Aug 01 '25 08:08 guidezpl