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

项目缺少必要文件,比如http.dart #2

Closed
zrg1215 opened this issue May 17, 2020 · 1 comment
Closed

项目缺少必要文件,比如http.dart #2

zrg1215 opened this issue May 17, 2020 · 1 comment

Comments

@zrg1215
Copy link

zrg1215 commented May 17, 2020

您好,我把项目clone下来后使用Android Studio打开发现项目跑不起来,原因是没有找到「import "package:http/http.dart" as http;」这个文件。另外,Android Studio导包都报错了,比如「destination_dao.dart」在这个文件中,原始的是「import 'package:flutter_ctrip/model/destination_model.dart';」AS识别不出来,我修改成「import '../model/destination_model.dart';」就可以了,请问这两种方式是不是跟你使用的编译器有关?

@zrg1215
Copy link
Author

zrg1215 commented May 18, 2020

是我的IDE有问题,没有下载这些依赖

@zrg1215 zrg1215 closed this as completed May 18, 2020
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