Questions tagged [pubspec.yaml]
46 questions
0
votes
0 answers
When trying to get the Flutter packages for flutter-folio repository, I face a timeout for auto_size_text.git
I am trying to give a go with Flutter Folio sample project by cloning it and running it in the iOS simulator locally. Here's what I did and the issue I faced with.
First I cloned the repository, and then tried to update the packages.
git clone…

SydMK
- 425
- 4
- 12
0
votes
1 answer
In Pubspec.lock file razor_pay flutter is having version 1.3.2 vs in Pubspec.yaml its 1.3.2
In pubspec.lock the version is : "1.3.4" ,in pubspec.yml the version is razorpay_flutter: ^1.3.2
i tried deleting lock file then running pub get but still it goes to 1.3.4 , i want to use only the version 1.3.2
i tried running pub get , still its…
0
votes
0 answers
Versions in Flutter-Project incompatible
I have programmed a App with flutter but since the update of Android Studio to version electric eel I face a missmatch in versions of packages.
This is a part of my pubspec.yaml:
...
dependencies:
flutter:
sdk: flutter
…

CJBNBG
- 1
0
votes
0 answers
I got the following error after adding images in my flutter project :-
Error detected in pubspec.yaml:
Error on line 62, column 4: Expected a key while parsing a block mapping.
╷
62 │ assets:
│ ^
╵
Error detected in pubspec.yaml:
Exception: Please correct the pubspec.yaml file at .\pubspec.yaml
Restarted…

Rachita Dongre
- 35
- 6
0
votes
0 answers
The pubspec.lock file has changed since the .dart_tool/package_config.json file was generated, please run "flutter pub get" again
The pubspec.lock file has changed since the .dart_tool/package_config.json file was generated, please run "flutter pub get" again.
pub finished with exit code 65
make: *** [l10n] Error 65
After adding a local packages in pubspec.yaml , I am getting…

Dhiraj Himani
- 131
- 9
0
votes
0 answers
Flutter #null-safety plugin, these plugins do not have null safety versions. What Should i do?
null-safety compatible versions do not exist for:
grouped_buttons
apple_sign_in
progress_dialog
flutter_icons
debug_mode
I am using these plugins for my project and came to know that these plugins have been discontinued and hence do not have a…

FARHAN AK
- 9
- 2
0
votes
1 answer
Is it the latest version? (Flutter)
When I have to use a package, I'm going to pub.dev and look for it.
pub.dev
Once I got it, I click on the installing tab.
Installing
Then I got the package's latest version and I add it to the pubspec.yaml
pubspec.yaml
I've seen plenty of times…

DBG
- 1
- 1
0
votes
1 answer
Build Number throwing error after upgrading to Flutter 3.7.3
My Project was on flutter 2.5.3 and we decdied to upgrade code base to flutter latest version (3.7.3) . My version from pubspec.yaml used to be 1.2+10 after upgrading flutter. When I run flutter pub get or any other pub related command i am getting…

Velicheti Sowmitri
- 31
- 6
0
votes
0 answers
when I debuging and run this error show up :
[flutter_application_2] flutter pub get
Running "flutter pub get" in flutter_application_2...
Resolving dependencies...
Error on line 11, column 5 of pubspec.yaml: A dependency may only have one source.
╷
11 │ ┌ sdk: flutter
12 │ │ get:…

Raed
- 133
- 1
- 5
0
votes
1 answer
How to bump pref package to version 2.7.1 (needs Flutter 3.7.0) while I'm on the latest Flutter beta channel 3.7.0-1.5.pre?
I'm on the Flutter beta channel, the latest 3.7.0-1.5.pre version. I received a Dependabot PR about bumping the pref package's version to 2.7.1 (from 2.7.0), see https://github.com/TrackMyIndoorWorkout/TrackMyIndoorWorkout/pull/407. I was also…

Csaba Toth
- 10,021
- 5
- 75
- 121
0
votes
0 answers
how to solve unexpected child found in flutter?
Unexpected child "example" found under "flutter".
Please correct the pubspec.yaml file at C:\Users\Manoj gurung\Desktop\Flutter\DamodarLohaniSir\dependencymanager\pubspec.yaml
when i add new dependency and image assets through pubspec.yaml in…
0
votes
1 answer
dependency issues why I try to run/debug my app
I'm new to making an app with flutter/dart and I'm running into some issues with the dependecies in the pubspec.yaml. I'm trying to make an app from a template to learn about how to work with repositories from github. After I brought in the code and…

broken_mold_web
- 1
- 1
0
votes
1 answer
unable to locate asset entry for a font in flutter
I'm trying to run my flutter application that used to run perfectly but it suddenly showed "unable to locate asset entry" for a font error,
screenshot of the error
and I've checked the indentations in the pubspec.yaml and they were correct, but I…

Filwah Ah
- 13
- 3
0
votes
0 answers
To Solve ..Please ? On Build Apk .. Build Failed with an Exception ,
What Went wrong :
Unable To Start The Deamon Process .
This Problem might be , Caused By the incorrect configuration of the daemon .
Need Answer To build my app

Zubi
- 1
0
votes
1 answer
Could not find configuration file (pubspec.yaml) on windows
I'm using flutter with Dart on AndoidStudio, tried to add image to my app and to do so I need to
find pubspec.yaml file so that I can add image directory but the problem is that there is no pubspec.yaml file in my project files.
enter image…

mtourki
- 1