Прежде чем я написал это, я искал повсюду по своей ошибке, но я ничего не нашел.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>
my pubspec.yaml выглядит так: < /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
Подробнее здесь: https://stackoverflow.com/questions/594 ... to-regular
Ошибка: невозможно найти запись активов в pubspec.yaml: «Активы/шрифты/lato-regular.ttf" ⇐ Android
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Ошибка: невозможно найти запись активов в pubspec.yaml: «Активы/шрифты/lato-regular.ttf"
Anonymous » » в форуме IOS - 0 Ответы
- 3 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Во Flutter ошибка возникает после добавления новых зависимостей в файл pubspec.yaml.
Anonymous » » в форуме Android - 0 Ответы
- 11 Просмотры
-
Последнее сообщение Anonymous
-