How to change flutter project name and id?

Is it possible to change flutter project name and organisation ? I want to change only the project's name and organisation id without recreating the whole project with flutter create <project name> --organisation <organisation-id>

Upvotes: 2

Views: 1775

Answers (4)

Finally I solved the problem by using the Dart Package Rename.

It worked. Here is the link rename package

Upvotes: 0

Manishyadav
Manishyadav

Reputation: 1726

If you want to change the project name, simply change it in all these files.

1.build.gradle (app)

2.AndroidManifest.xml

3.MainActivity.java

Upvotes: 1

Hardik Mehta
Hardik Mehta

Reputation: 2425

name can be changed from pubspec.yaml file and bundle id is something that you can change from specific platform wise. for android in app -> build.gradle file

Upvotes: 1

Chinmay Kabi
Chinmay Kabi

Reputation: 518

You can use a dart package like rename where you can change the bundle id and package name for different platforms.

Upvotes: 1

Related Questions