Ambiguous organization in existing files:{ .... }. The --org command line argument must be specified to recreate project
2,283
Solution 1
choose the package name:
package_name = com.xxx
flutter create --org com.xxx .
Solution 2
run flutter create --org your_package_name project_name
Author by
Admin
Updated on December 19, 2022Comments
-
Admin over 1 year
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."