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

执行Packages Get 报错 #9

Closed
puretsang opened this issue Aug 3, 2018 · 3 comments
Closed

执行Packages Get 报错 #9

puretsang opened this issue Aug 3, 2018 · 3 comments

Comments

@puretsang
Copy link

clone下来,新建了ignoreConfig.dark 执行Packages get
Because every version of flutter_test from sdk depends on analyzer 0.32.4 and json_serializable >=0.3.1+2 <0.5.3 depends on analyzer >=0.29.10 <0.32.0, flutter_test from sdk is incompatible with json_serializable >=0.3.1+2 <0.5.3.
So, because gsy_github_app_flutter depends on both json_serializable ^0.3.2 and flutter_test any from sdk, version solving failed.
pub get failed (1).
请问大神怎么解决?

@CarGuo
Copy link
Owner

CarGuo commented Aug 3, 2018

https://flutterchina.club/setup-windows/ 某些不可抗力原因,需要设置代理环境变量

@puretsang
Copy link
Author

在国外不存在代理的问题。我在pubspec.yaml 这样改

pub_semver: ^1.3.6
build_runner: ^0.7.6
json_serializable: ^0.3.2
#  flutter_test:
#    sdk: flutter

同时删除test 包下widget_test.dart 项目成功跑起来

@CarGuo
Copy link
Owner

CarGuo commented Aug 3, 2018

good job!

@CarGuo CarGuo closed this as completed Aug 3, 2018
@CarGuo CarGuo mentioned this issue Nov 21, 2019
@mr-shitou mr-shitou mentioned this issue Nov 30, 2019
@theecn theecn mentioned this issue Dec 18, 2019
@byue666 byue666 mentioned this issue Dec 19, 2019
@dfaofeng dfaofeng mentioned this issue Dec 24, 2019
@alienzh alienzh mentioned this issue Dec 27, 2019
@YaoHooHoo YaoHooHoo mentioned this issue Jan 15, 2020
@w497763094 w497763094 mentioned this issue Mar 10, 2020
@JevonShi JevonShi mentioned this issue Mar 10, 2020
@HaobinXu HaobinXu mentioned this issue Mar 20, 2020
@luan823230 luan823230 mentioned this issue Mar 24, 2020
@Andy957 Andy957 mentioned this issue Apr 16, 2020
@ngu2008 ngu2008 mentioned this issue Apr 17, 2020
@hzg1105 hzg1105 mentioned this issue May 3, 2020
@MrHGJ MrHGJ mentioned this issue May 19, 2020
@hzg1105 hzg1105 mentioned this issue Jun 14, 2020
@wangkr wangkr mentioned this issue Jul 4, 2020
@gss3000 gss3000 mentioned this issue Jul 8, 2020
@zaeMyn zaeMyn mentioned this issue Aug 5, 2020
This was referenced Jun 22, 2022
@MasterSpecter MasterSpecter mentioned this issue Nov 3, 2022
@ShiChenZhi ShiChenZhi mentioned this issue Nov 4, 2022
@CismatTest101 CismatTest101 mentioned this issue Nov 12, 2022
@HBLove HBLove mentioned this issue Nov 22, 2022
This was referenced Dec 3, 2022
@jayVRIY jayVRIY mentioned this issue Dec 8, 2022
@EsqJei EsqJei mentioned this issue Dec 20, 2022
@omiom33 omiom33 mentioned this issue Jan 6, 2023
@Null404Nil Null404Nil mentioned this issue Sep 20, 2024
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

2 participants