Skip to content

Deleted android/ directory shouldn't be recreated when building an iOS-only app #31341

@timsneath

Description

@timsneath

I should be able to build an iOS-only app with Flutter without needing an android/ directory. I deleted it, but on build, Flutter added two files back to this folder:

  • android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
  • android/local.properties

As we add more targets to Flutter, it should be possible to delete ones that aren't needed.

Metadata

Metadata

Assignees

Labels

toolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions