Fehler: In Pubspec.yaml kann nicht den Anlageneintrag suchen: "Assets/Schriftarten/lato-regular.ttf"IOS

Programmierung für iOS
Anonymous
 Fehler: In Pubspec.yaml kann nicht den Anlageneintrag suchen: "Assets/Schriftarten/lato-regular.ttf"

Post by Anonymous »

Bevor ich das schrieb, habe ich überall nach meinem Fehler gesucht, aber ich habe nichts gefunden.Launching lib/main.dart on Android SDK built for x86 in debug mode...
Error: unable to locate asset entry in pubspec.yaml: "assets/fonts/Lato-Regular.ttf".
✓ Built build/app/outputs/apk/debug/app-debug.apk.
Error: unable to locate asset entry in pubspec.yaml: "assets/fonts/Lato-Regular.ttf".
Exited (sigterm)
< /code>

Meine Pubspec.yaml -Datei sieht so aus: < /p>

name: shopping_app
description: A new Flutter project.

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/arc ... nKeys.html
version: 1.0.0+1

environment:
sdk: ">=2.1.0

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post