Flutter Tutorial:
Flutter Widgets:
Flutter Advance
Flutter REST API
Advanced Concepts
Wrap vs Builder vs OverBarFlow
Circular progress conatin Icon
Flutter State management Comparison
Flutter Database
Flutter Token Expired Handling
Flutter Provider
Flutter GetX
Flutter with Native
Flutter Tips:
Interview Questions
Flutter 100 Interview Questions
Setup Android studio
The steps for setting up Android development on Window , Linux and macOS are similar. Here’s a combined guide for all operating systems:
Step 1: Install Android Studio:
– Download Android Studio from the [official website](https://developer.android.com/studio).
– Follow the installation instructions provided for your operating system (Windows, macOS, or Linux).
Step 2: Configure Android SDK:
   – When you first launch Android Studio, it will prompt you to install the Android SDK components.
– Go through the setup process, and Android Studio will download and install the necessary components.
   – You can also open the SDK Manager from the “Configure” menu to manage SDK versions, platforms, and system images.
Step 3: Set up Emulator or Connect a Physical Device:
   – To set up an emulator, open the AVD Manager from the “Configure” menu and create a new Virtual Device.
Step 4: Configure System Environment Variables (Linux and macOS):
Linux/Mac:-
– For Linux, open your shell profile file (e.g., `.bashrc` or `.zshrc`) using a text editor. For macOS, you can use the `.bash_profile` or `.zshrc`.
– Add the following lines at the end of the file:
export JAVA_HOME=<path_to_your_jdk>
export ANDROID_HOME=<path_to_android_sdk>
export PATH=$PATH:$JAVA_HOME/bin:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
– Save and close the file.
– Run `source .bashrc` (or the appropriate file for your shell) to apply the changes.
Window:-
Open the System Properties > Advanced > Environment Variables.
Add new system variables for JAVA_HOME pointing to your JDK installation directory and ANDROID_HOME pointing to your Android SDK directory.
Add %JAVA_HOME%\bin and %ANDROID_HOME%\tools to the Path variable.
Step 5: Install Java Development Kit (JDK):
   – Android development requires a Java Development Kit (JDK). Download and install the latest JDK from the [official Oracle website](https://www.oracle.com/java/technologies/javase-downloads.html) or search OpenJDK.
– Set the `JAVA_HOME` environment variable to the JDK installation directory.
Step 6: Verify Installation:
– Open a terminal and run the following commands to verify your Java and Android installations:
java -version
javac -version
adb version
Step 7: Install Platform Tools:
– Ensure that the Android SDK includes the latest version of the Android Platform Tools. You can install or update them using the SDK Manager in Android Studio.
Step 8: Create a Sample Android Project:
– Open Android Studio.
– Create a new Android project or open an existing one.
– Follow the project setup wizard to configure the project settings.
Step 9: Run the App:
– Connect a device or start an emulator.
– Click the “Run” button in Android Studio to deploy and run your app on the selected device.
Now, You can now start building and testing Android apps using Android Studio.