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

Flutter有关的bug写在这里 #7

Open
AweiLoveAndroid opened this issue Dec 29, 2018 · 1 comment
Open

Flutter有关的bug写在这里 #7

AweiLoveAndroid opened this issue Dec 29, 2018 · 1 comment
Labels
Flutter bugs Flutter开发中遇到的bug

Comments

@AweiLoveAndroid
Copy link
Owner

这里是关于Flutter开发中遇到的一些bug 写在这里。感谢大家多多支持。

@AweiLoveAndroid AweiLoveAndroid added the Flutter bugs Flutter开发中遇到的bug label Dec 29, 2018
@zhanzengyu
Copy link

Q:flutter 在pubspec.yaml添加依赖报错.

Error on line 25, column 5 of pubspec.yaml: A dependency may only have one source.
sdk: flutter
^^^^^^^^^^^^^

pub get failed (65)

A:这个是对齐问题

dev_dependencies:
  flutter_test:
    sdk: flutter

    english_words: ^3.1.0

这样会报错。库要跟flutter_test对齐。所以缩进一下 english_words 行就可以了。

dev_dependencies:
  flutter_test:
    sdk: flutter

  english_words: ^3.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Flutter bugs Flutter开发中遇到的bug
Projects
None yet
Development

No branches or pull requests

2 participants