[FIXED] Flutter web create issue in existing flutter app

Issue

I already have the flutter app, now I am adding support to flutter Web following this doc. I am getting the error on flutter create .

Ambiguous organization in existing files: {com.app.android.fluttermodule,com.app.android.flutterModule}. The --org command line argument must be
specified to recreate project.

I have mentioned pubsec.yml

  module:
    androidPackage: com.app.android.fluttermodule
    iosBundleIdentifier: com.app.android.flutterModule

Solution

I am getting this issue because of creating flutter web apps from existing flutter Android and iOS codebase,for this structure flutter web is not supported… We have to create a new flutter project for web

Answered By – Rahul Devanavar

Answer Checked By – Clifford M. (Easybugfix Volunteer)

Leave a Reply

(*) Required, Your email will not be published