The document outlines the steps to set up and modify a Flutter project in Android Studio, including creating a Git repository, cloning it, and running the project. It details how to change the app logo, name, base URL, package name, and set up Firebase for push notifications. Additionally, it covers adding a Google Map API key and concludes with a summary of modifications and challenges faced during the process.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
4 views
Flutter_Project_Setup
The document outlines the steps to set up and modify a Flutter project in Android Studio, including creating a Git repository, cloning it, and running the project. It details how to change the app logo, name, base URL, package name, and set up Firebase for push notifications. Additionally, it covers adding a Google Map API key and concludes with a summary of modifications and challenges faced during the process.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13
Setting Up and Modifying a
Flutter Project in Android Studio
Rudri Mehta Date: February 2025 Introduction • Overview of the steps taken to set up and modify a Flutter project in Android Studio. Creating a Git Repository • 1. Created a Git repository using UserApp. • 2. Copied the repository URL for cloning. Cloning the Repository in Android Studio • 1. Open Android Studio. • 2. Select 'Get from Version Control'. • 3. Paste the Git repository URL. • 4. Click Clone. Running an Existing Flutter Project • 1. Open the project in Android Studio. • 2. Ensure dependencies are installed. • 3. Run the project using 'flutter run'. Changing App Logo and Icon • 1. Add 'flutter_launcher_icons' to pubspec.yaml. • 2. Configure icon paths. • 3. Run: flutter pub run flutter_launcher_icons:main. Changing App Name • 1. Modify AndroidManifest.xml for Android. • 2. Update info.plist for iOS. Changing Base URL • 1. Locate API configuration file. • 2. Update Base URL for API requests. • 3. Save and restart the app. Changing App Package Name • 1. Use 'rename' package or manually edit package name. • 2. Run: flutter pub run rename --bundleId com.example.newname. Setting Up Firebase for Push Notifications • 1. Create a Firebase project. • 2. Add google-services.json to Android app. • 3. Update build.gradle and dependencies. Adding Google Map API Key • 1. Get API key from Google Cloud Console. • 2. Add the key to AndroidManifest.xml. Final Testing and Debugging • 1. Run the modified project. • 2. Verify that all changes are reflected. Conclusion & Learnings • 1. Summary of modifications made. • 2. Challenges faced and solutions implemented.