我有以下简单的目录结构:
flutter_published
.idea
android
build
ios
lib
main.dart
flutter_published.iml
pubspec.lock
pubspec.yaml
network_to_file_image
.idea
example
main.dart
lib
network_to_file_image.dart
test
network_to_file_image.iml
pubspec.lock
pubspec.yaml
network_to_file_image是一个包。
有两个main.dart files,一个在flutter_published/lib/main.dart,一个在flutter_published/network_to_file_image/example/main.dart
我可以运行第一个,但不能example运行network_to_file_image. 第二个给我这个错误:
Launching example\lib\main.dart on Android SDK built for x86 in debug mode...
No application found for TargetPlatform.android_x86.
Is your project missing an android\AndroidManifest.xml?
Consider running "flutter create ." to create one.
另外,当应用程序生成时,我使用的包的目录example和目录会发生什么?test它们是从最终部署的应用程序中包含还是删除?