Changing name and package name
Changing name and package name of the app
Step 1: Install the "change_app_package_name" package
To change the package name, you can use the "change_app_package_name" package. To install it, add it to your dependencies in pubspec.yaml file:
dependencies:
change_app_package_name: ^0.1.0
Step 2: Change the package name
Once you have installed the package, run the following command in your terminal:
flutter pub run change_app_package_name:main com.example.new_package_name
Step 3: Change the app name
To change the app name, navigate to the AndroidManifest.xml
file located in android/app/src/main/
folder. Find the <application>
tag and change its android:label
property with your desired app name:
<application
android:name="io.flutter.app.FlutterApplication"
android:label="Your App Name"
android:icon="@mipmap/ic_launcher">
Make sure to replace "Your App Name" with your desired app name.
Last updated