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

你好 dart sdk找不到? #215

Closed
jj89757hhb opened this issue Jan 9, 2019 · 5 comments
Closed

你好 dart sdk找不到? #215

jj89757hhb opened this issue Jan 9, 2019 · 5 comments

Comments

@jj89757hhb
Copy link

dart sdk

@CarGuo
Copy link
Owner

CarGuo commented Jan 9, 2019

安装好dart 和flutter 的plugin插件,然后指向你本地的dart SDK就好了,一般dart sdk都flutter SDK的 cache里

@CarGuo CarGuo closed this as completed Jan 9, 2019
@jj89757hhb
Copy link
Author

谢谢看到了!sdk 原来是选择里面的子目录
但是编译还是错误:
Error: Could not resolve the package 'flutter' in 'package:flutter/cupertino.dart'.
Error: Could not resolve the package 'flutter' in 'package:flutter/foundation.dart'.
Error: Could not resolve the package 'flutter' in 'package:flutter/material.dart'.
Error: Could not resolve the package 'event_bus' in 'package:event_bus/event_bus.dart'.
Error: Could not resolve the package 'flutter_localizations' in 'package:flutter_localizations/flutter_localizations.dart'.
Error: Could not resolve the package 'fluttertoast' in 'package:fluttertoast/fluttertoast.dart'.
Error: Could not resolve the package 'gsy_github_app_flutter' in 'package:gsy_github_app_flutter/common/event/HttpErrorEvent.dart'.
Error: Could not resolve the package 'gsy_github_app_flutter' in 'package:gsy_github_app_flutter/common/localization/GSYLocalizationsDelegate.dart'.
Error: Could not resolve the package 'gsy_github_app_flutter' in 'package:gsy_github_app_flutter/common/redux/GSYState.dart'.
Error: Could not resolve the package 'gsy_github_app_flutter' in 'package:gsy_github_app_flutter/common/model/User.dart'.

@CarGuo
Copy link
Owner

CarGuo commented Jan 10, 2019

flutter --version看看, flutter sdk 需要v1.1.3

flutter doctors 看看还有哪些问题。

@jj89757hhb
Copy link
Author

为啥我执行 flutter --version 无效

@CarGuo
Copy link
Owner

CarGuo commented Jan 11, 2019

你看看环境命令行的flutter是否已经配置成功

@CarGuo CarGuo mentioned this issue Nov 21, 2019
@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
@hzg1105 hzg1105 mentioned this issue Jun 14, 2020
@wangkr wangkr mentioned this issue Jul 4, 2020
@jayVRIY jayVRIY mentioned this issue Dec 8, 2022
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