Flutter报错: Is your project missing an ios/Runner/Info.plist 或 Is your project missing an android/And

报错信息

  1. 运行在ios上报错
No application found for TargetPlatform.ios.
Is your project missing an ios/Runner/Info.plist?
Consider running "flutter create ." to create one.
  1. 运行在安卓上报错
AndroidManifest.xml could not be found.
Please check /Users/jerry/flutter/projects/fish-redux/example/android/AndroidManifest.xml for errors.
No application found for TargetPlatform.android_x86.
Is your project missing an android/AndroidManifest.xml?
Consider running "flutter create ." to create one.

工程目录

解决方案

当前目录下执行

flutter create .

执行后:
Flutter报错: Is your project missing an ios/Runner/Info.plist 或 Is your project missing an android/And_第1张图片

你可能感兴趣的:(Flutter报错: Is your project missing an ios/Runner/Info.plist 或 Is your project missing an android/And)