Ambiguous organization in existing files:{ …. }. The –org command line argument must be specified to recreate project

  android-studio, compilation, flutter, windows

While trying to run my existing flutter app on windows, got the following exeption – "Exception: No Windows desktop project configured. See https://flutter.dev/desktop#add-desktop-support-to-an-existing-flutter-app to learn about adding Windows support to a project".
After i entered the given url and trying to run the command: "flutter create –platforms=window,macos,linux ." it says: "Ambiguous organization in existing files: {il.co.project.pos, com.example}. The –org command line argument must be specified to recreate project."

Here trying to run on windows

Here trying to run the create command

Source: Windows Questions

LEAVE A COMMENT