The following installation steps, in the same order, will set up the necessary tech stack for developing and managing this project:
To set up Flutter for the application, follow the instructions provided here Flutter documentation.
You need to set up Android Studio and the command-line tools for the Android SDK after setting up Flutter. Steps:
-
Install and configure Android Studio.
-
Download and setup the command-line-tools by following these steps:
- Open android-studio
- Click on the "More Actions" option on the boot window. Select SDK Manager from the options it shows.
- In the "Android SDK" section, go to the SDK Tools section.
- Check the box for "Android SDK Command-line Tools (latest)" and click ok
-
Running
"flutter doctor"
to check the setup of flutter android licenses. However, upon running this, it may ask you to agree/disagree with some licenses. Run the following command to fix this:
flutter doctor --android-licenses
This can be done in two ways:
- Setup an android emulator.
- For running on your local Android device requires activating USB-debugging in the developer options. Setup for Flutter is accomplished
Clone the project from the repository link.
- Start the emulator or connect or Android mobile with your laptop and allow for USB debugging as discussed above.
- Run the application using the following command:
flutter run
- Select the device you want to run the application on. NOTE: The most recent Android version 3 does not support Facebook OAuth login.