Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Cannot find the flutter.plugin.platforms key in the pubspec.yaml file. #24

Open
JAICHANGPARK opened this issue Nov 1, 2020 · 3 comments · May be fixed by #26
Open

Cannot find the flutter.plugin.platforms key in the pubspec.yaml file. #24

JAICHANGPARK opened this issue Nov 1, 2020 · 3 comments · May be fixed by #26

Comments

@JAICHANGPARK
Copy link

Hello
Now I have some problem about pub get process

Cannot find the `flutter.plugin.platforms` key in the `pubspec.yaml` file. An instruction to format the `pubspec.yaml` can be found here:
@JAICHANGPARK
Copy link
Author

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.23.0-18.1.pre, on Microsoft Windows [Version 10.0.19041.572])

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1.0)
[✓] VS Code (version 1.50.1)
[✓] Connected device (4 available)

• No issues found!

@mohadel92
Copy link

same issue here with me

@Arkasher
Copy link

Arkasher commented Dec 21, 2020

You probably are getting the package using git tag. add "ref: master" below URL tag.

Like this:

`flutter_p2p:

git:

 url: https://github.com/mintware-de/flutter_p2p

 ref: master`

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants