Steps to change app name in Android:
- Navigate to the android>app> src>main and open the AndroidManifest.xml file.
- Under the application tag, Find the android:label and replace its value with the new app name.
Steps to change app icon in Android:
- Prepare icon 512x512 (px)
- Create assets folder in project, copy icon to assets folder:
Open file pubspec.yaml
Replace:
dev_dependencies:
flutter_test:
sdk: flutter
To:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons:
git:
url: https://github.com/Davenchy/flutter_launcher_icons.git
ref: fixMinSdkParseFlutter2.8
flutter_icons:
android: "launcher_icon"
ios: true
image_path: "assets/icon.PNG"
Open terminal, Run:
- flutter pub get flutter
- flutter pub run flutter_launcher_icons:main
Run project, result: