Skip to content

Google Fonts Error #681

@tanishka21

Description

@tanishka21

Existing issue?

What happened?

Expected vs actual result:

Steps to reproduce:

After run the app in Debug Mode, Getting the error which is mentioned below -

flutter: ----------------------------------------------------
flutter: Error: google_fonts was unable to load font Montserrat-SemiBold because the following exception occurred:
Unable to load asset: "AssetManifest.json".
The asset does not exist or has empty data.
flutter: If troubleshooting doesn't solve the problem, please file an issue at https://github.com/material-foundation/flutter-packages/issues/new/choose.
flutter: ----------------FIREBASE CRASHLYTICS----------------
flutter: Unable to load asset: "AssetManifest.json".
The asset does not exist or has empty data.
flutter:
#0 PlatformAssetBundle.load. (package:flutter/src/services/asset_bundle.dart:332:13)
asset_bundle.dart:332

#1 AssetBundle.loadString (package:flutter/src/services/asset_bundle.dart:92:27)
asset_bundle.dart:92

#2 AssetManifest._loadAssetManifestJson (package:google_fonts/src/asset_manifest.dart:34:26)
asset_manifest.dart:34

#3 loadFontIfNecessary (package:google_fonts/src/google_fonts_base.dart:145:31)
google_fonts_base.dart:145

Relevant log output

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.38.1, on macOS 26.1 25B78 darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.1.1)
[✓] Chrome - develop for the web
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!
tanishka@MacBookAir rti_app % flutter doctor -v
[✓] Flutter (Channel stable, 3.38.1, on macOS 26.1 25B78 darwin-arm64, locale en-IN) [585ms]
    • Flutter version 3.38.1 on channel stable at /Users/tanishka/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b45fa18946 (4 months ago), 2025-11-12 22:09:06 -0600
    • Engine revision b5990e5ccc
    • Dart version 3.10.0
    • DevTools version 2.51.1
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios,
      cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging

[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [2.8s]
    • Android SDK at /Users/tanishka/Library/Android/sdk
    • Emulator version 36.2.12.0 (build_id 14214601) (CL:N/A)
    • Platform android-36, build-tools 36.1.0
    • ANDROID_HOME = /Users/tanishka/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 26.1.1) [1,434ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 17B100
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [7ms]
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Connected device (4 available) [7.6s]
    • Tanishka’s iPhone (wireless) (mobile) • 00008101-000D35402E99001E            • ios            • iOS 18.5 22F76
    • iPhone 16e (mobile)                   • 4AAC7A0D-DB89-46F0-9E02-876C0877194D • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-26-1 (simulator)
    • macOS (desktop)                       • macos                                • darwin-arm64   • macOS 26.1 25B78 darwin-arm64
    • Chrome (web)                          • chrome                               • web-javascript • Google Chrome 145.0.7632.160

[✓] Network resources [672ms]
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageIssues that haven't been fully triaged (labels applied, reproducible bug / relevant feature request)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions