{"id":23065833,"url":"https://github.com/ullaskunder3/flutter-setup","last_synced_at":"2026-01-15T22:39:44.735Z","repository":{"id":153852827,"uuid":"356874105","full_name":"ullaskunder3/flutter-setup","owner":"ullaskunder3","description":"Detail flutter installation without installing android studio just using","archived":false,"fork":false,"pushed_at":"2021-04-11T13:24:20.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T22:25:38.547Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ullaskunder3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-11T13:23:31.000Z","updated_at":"2024-08-13T08:53:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"78bbd2f2-0b42-44ff-b3f5-855366e3164c","html_url":"https://github.com/ullaskunder3/flutter-setup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Fflutter-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Fflutter-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Fflutter-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ullaskunder3%2Fflutter-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ullaskunder3","download_url":"https://codeload.github.com/ullaskunder3/flutter-setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246970337,"owners_count":20862508,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-16T05:10:12.843Z","updated_at":"2026-01-15T22:39:44.691Z","avatar_url":"https://github.com/ullaskunder3.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flutter setup without android studio\n\n## Table of content\n\n- [Flutter](#Flutter)\n- [Requirements](#Requirements)\n- [Flutter Setup](#Flutter-Installation)\n- [Java Jdk](#Java-Jdk)\n- [gragle Setup](#gradle-Setup)\n- [Command line tools](#Command-line-tools)\n- [Creating Android Virtual Device](#Creating-Android-Virtual-Device-(AVD))\n- [Update the path for android SDK](#Update-the-path-for-android-SDK)\n- [test Emulator](#Emulator)\n- [Vs Code Setup](#Visual-Studio-Code-for-Flutter)\n\n## Flutter\n\nFlutter is Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase.\n\n## Requirements\n\nOperating System: Windows 7 or later, x86-64\\\nDisk Space: 1.6 GB\\\nTools: Windows PowerShell, **Git** (Recommend)\n\nYou will need\n\n- [flutter sdk](https://storage.googleapis.com/flutter_infra/releases/stable/windows/flutter_windows_2.0.4-stable.zip)\n- [Git](https://git-scm.com/)\n- [Visual Studio Code](https://code.visualstudio.com/docs/?dv=win64user)\n- [JDK 8](https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html)\n- [gradle](https://gradle.org/next-steps/?version=7.0\u0026format=bin) --not necessary(install to be on safe side)\n- [Command Line Tools](https://dl.google.com/android/repository/commandlinetools-win-6858069_latest.zip)\n\n## Flutter Installation\n\nchoose a directory\n\u003e :warning:\n\u003eDo not install Flutter in a directory like __C:\\Program Files\\\\@__ that requires elevated privileges\n\n```bash\n git clone https://github.com/flutter/flutter.git -b stable\n```\n\n## Update your Path\n\nSteps to add Flutter to the __PATH__ environment variable:\n\n- Open **Edit environment variables for your account.**\n  - Under **User Variable** double click *Path*\n  - Add flutter bin path in my case **D:\\Development\\flutter\\bin** ok ok done\n\n*confirm by `where flutter dart` command*\n\n## Run `flutter doctor`\n\nfrom git bash or powershell run `flutter doctor`\n\n```powershell\nPS D:\\Development\\flutter\u003e flutter doctor\nDoctor summary (to see all details, run flutter doctor -v):\n[√] Flutter (Channel stable, 2.0.4, on Microsoft Windows [Version 10.0.19042.906], locale en-US)\n[X] Android toolchain - develop for Android devices\n    X Unable to locate Android SDK.\n      Install Android Studio from: https://developer.android.com/studio/index.html\n      On first launch it will assist you in installing the Android SDK components.\n      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).\n      If the Android SDK has been installed to a custom location, please use\n      `flutter config --android-sdk` to update to that location.\n\n[√] Chrome - develop for the web\n[!] Android Studio (not installed)\n[√] VS Code (version 1.55.1)\n```\n\n## Java Jdk\n\nI assume you have setup java home in system variable as **JAVA_HOME** and path to **java/bin**\n\n## gradle Setup\n\nFrom mobile apps to microservices, from small startups to big enterprises, Gradle helps teams build, automate and deliver better software, faster.\n\nWrite in Java, C++, Python or your language of choice. Package for deployment on any platform. Go monorepo or multi-repo. And rely on Gradle's unparalleled versatility to build it all.\n\nSteps to setup gradle:\n\n- Extract `gradle-7.0-bin.zip` zip file\n- Move the folder to the desire location in my case `D:\\Development\\`\n- Your directory will look like this:\n\n```bash\nD:\\\n├── Development\n│   ├── gradle-7.0\n│   │   ├── bin\n│   │   ├── init.d\n│   │   ├── lib\n│   │   ├── LICENSES\n│   │   ├── NOTICE\n│   │   └── README\n│   ├── android_sdk\n│   ├── flutter \n```\n\nUpdate the path:\n\n- Open **Environment Variables**\n  - Under **System Variable** Select New..., type\n\n    ```cmd\n    Variable name: GRADLE_HOME\n    Variable value: D:\\Development\\gradle-7.0\n    ```\n\n  - Under **System Variables** select **Path**, then click Edit. Add an entry for *D:\\Development\\gradle-7.0\\bin*. Click OK to save.\n\n  - Verify your installation by `gradle -v` in the terminal\n\n## Command line tools\n\nIf you do not need Android Studio, you can download the basic Android command line tools. You can use the included sdkmanager to download other SDK packages.\n\n- Extract the `commandlinetools-win-6858069_latest.zip`\n\n  - You will get `cmdline-tools` rename it to `tools` thats it\n  - Now create another empty folder name it `cmdline-tools` \u0026 move the renamed `tools` to `cmdline-tools`\n  - Move `cmdline-tools` to a desire directory `android_sdk` in my case: *D:\\Development\\android_sdk\\**\n  - Now the directory will look like\n\n```bash\nD:\\\n├── Development\n│   ├── android_sdk\n│   │   └── cmdline-tools\n│   │       └── tools\n│   │           ├── bin\n│   │           ├── lib\n│   │           ├── NOTICE.txt\n│   │           └── source.properties\n│   │    \n│   ├── flutter \n```\n\n- Go to **android_sdk\\cmdline-tools\\tools\\bin\\*** you will see some of the *bat* file...\n  - Open cmd or powershell in that location by **shift+click** or by file option,..etc\n\nTo install the latest platform tools (which includes adb and fastboot) and the SDK, systemimages\n\nin `cmd` or `shell` run the below command:\n\n```cmd\nsdkmanager \"platforms;android-29\"\n```\n\n```cmd\nsdkmanager \"build-tools;29.0.3\"\n```\n\n*Accept the sdk licenses by `y`*\n\n## List all the system-images and packages\n\n```cmd\nsdkmanager --list\n```\n\nselect any *system-images* you like and install it using the command:\n\n```cmd\nsdkmanager \"system-images;android-29;default;x86_64\"\n```\n\n*Accept the licenses by `sdkmanager --licenses`*\n\n## Creating Android Virtual Device (AVD)\n\n :smile:*key-points to remember*\n\n`-n` : name of the virtual device.\n`-k` : image to use, installed above step.\n`-d` : device id for hardware profile.\n\nTo check device id type `avdmanager.bat list` in the same directory **android_sdk\\cmdline-tools\\tools\\bin** (in the same directory because we still didn't set the bin path to environment variabale yet....)\n\nCreate AVD by the command:\n\n```cmd\navdmanager create avd -n Pixel -k 'system-images;android-29;default;x86_64' -d 17\n```\n\nDONE...\n\n- Your directory will look like:\n\n```bash\nD:\\\n├── Development\n│   ├── android_sdk\n│   │   ├── .temp\n│   │   ├── build-tools\n│   │   ├── cmdline-tools (this was the first file with tools/bin inside)\n│   │   ├── emulator\n│   │   ├── extras\n│   │   ├── licenses\n│   │   ├── patcher\n│   │   ├── platforms\n│   │   ├── platform-tools\n│   │   ├── sources\n│   │   ├── system-images\n│   │   ├── tools\n│   │   └── .knowPackages\n│   │    \n│   ├── flutter \n```\n\n## Update the path for android SDK\n\nDOCUMENTATION *According to google officials*\n\n **ANDROID_HOME**, which also points to the SDK installation directory, is deprecated.\\\n If you continue to use it, the following rules apply:\n\n- If **ANDROID_HOME** is defined and contains a valid SDK installation, its value is used instead of the value in ANDROID_SDK_ROOT.\n- If **ANDROID_HOME** is not defined, the value in **ANDROID_SDK_ROOT** is used.\n- If **ANDROID_HOME** is defined but does not exist or does not contain a valid SDK installation, the value in **ANDROID_SDK_ROOT** is used instead.\n\nEnvironment variable :\n\n- Open **Edit environment variables for your account.**\n  - Under **System Variable** click **New...**\n\n  ```cmd\n  Variable name:  ANDROID_HOME\n  Variable value: D:\\Development\\android_sdk\n  ```\n\n  - Again for sdk root\n\n  ```cmd\n  Variable name:  ANDROID_SDK_ROOT\n  Variable value: D:\\Development\\android_sdk\n  ```\n\n  - Under **System Variable** click **Path** \u0026 add (Has to be the same order emulator, tools, platform-tools)\n    - %ANDROID_SDK_ROOT%\\cmdline-tools\\tools\\bin\n    - %ANDROID_HOME%\\emulator\n    - %ANDROID_HOME%\\tools\n    - %ANDROID_HOME%\\platform-tools\n  \nALMOST DONE\n\n## Emulator\n\nlist all the available AVD by the command `emulator -list-avds`\n\nTo run the emulator type `emulator -avd avd_pame` or `emulator @avd_name` replace avd_name with the name you gave during Create AVD step in this case **Pixel**\n\n## This is it\n\nFrom cmd run `flutter doctor -v` later `flutter doctor --android-licenses`\n\nDONE....\n\n## Visual Studio Code for Flutter\n\n- After installation of Vs Code install some the extension for code formating and intellisense\n- Open Extensions tab manually or `Ctrl + Shift + x` install the extensions: they are\n  - Dart (dart-code.dart-code)\n  - Flutter (dart-code.flutter)\n  - For More Developer feel :)\n    - Bracket Pair Colorizer\n    - Image Preview\n    - Flutter Widget Snippets\n    - Pubspec Assist\n- Reload by `Ctrl + Shift + p` type reload click `Reload Window`\n\nCreting flutter application in vs code there are two method:\n\n- Using Vs code GUI\n  - Open the Command Palette (Ctrl+Shift+P (Cmd+Shift+P on macOS)).\n  - Select the Flutter: New Application Project command and press Enter.\n  - Enter your desired Project name.\n  - Select a Project location.\n  - Then `Ctrl + Shift + p` type flutter launch emulator\n  - flutter run form View -\u003e command palette or `Ctrl + Shift + p`\n\n- Using Vs code integrated termainl:\n  - Open termianl in vs code by **Ctrl + Shift + `** (control, shift, backtick)\n  - Type `flutter create project_name` later `cd project_name`\n  - Start the emulator [Emulator](#Emulator) remember the command\n  - last `flutter run`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fullaskunder3%2Fflutter-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fullaskunder3%2Fflutter-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fullaskunder3%2Fflutter-setup/lists"}