Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in pubspec.yaml #4

Closed
giraldeau opened this issue Jan 5, 2018 · 0 comments
Closed

Error in pubspec.yaml #4

giraldeau opened this issue Jan 5, 2018 · 0 comments

Comments

@giraldeau
Copy link
Contributor

Looks like the flutter item has no children and that the build fails:

Launching lib/main.dart on Nexus 5 in debug mode...
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
Built build/app/outputs/apk/app-debug.apk (23.0MB).
I/FlutterActivityDelegate(12713): onResume setting current activity to this
Error detected in pubspec.yaml:
#/properties/flutter: type: wanted [object] got null
Syncing files to device Nexus 5...
Lost connection to device.

By removing flutter: on line 10, it fixes the issue.

https://github.com/lejard-h/flutter_google_places_autocomplete/blob/a06b16207ee8dd0f2643fb17f4b66de5e8c8811b/pubspec.yaml#L10

giraldeau added a commit to giraldeau/flutter_google_places_autocomplete that referenced this issue Jan 5, 2018
Fixes fluttercommunity#4

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>
starkcoffee added a commit to starkcoffee/flutter_fab_dialer that referenced this issue Mar 5, 2018
Doesn't seem necessary and is causing scary error warnings in `flutter run`. See fluttercommunity/flutter_google_places#4
@bksuser bksuser mentioned this issue Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant