{"id":5508,"date":"2021-02-09T09:11:39","date_gmt":"2021-02-09T09:11:39","guid":{"rendered":"http:\/\/rockerstech.com\/documentation\/docs\/quickstart-login-registration-app\/prerequisite-tools-setup\/how-to-setup-flutter-in-android-studio-windows%e2%80%8b\/"},"modified":"2021-02-09T10:00:34","modified_gmt":"2021-02-09T10:00:34","slug":"how-to-setup-flutter-in-android-studio-windows%e2%80%8b","status":"publish","type":"docs","link":"https:\/\/rockerstech.com\/documentation\/docs\/quickstart-login-registration-app\/prerequisite-tools-setup\/how-to-setup-flutter-in-android-studio-windows%e2%80%8b\/","title":{"rendered":"How to Setup Flutter in Android Studio \u2013 Windows\u200b"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>Download Android Studio \u2013&nbsp;<a href=\"https:\/\/developer.android.com\/studio\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developer.android.com\/studio\/<\/a><\/li><li>Get the Flutter SDK \u2013&nbsp;<a href=\"https:\/\/flutter.dev\/docs\/get-started\/install\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/flutter.dev\/docs\/get-started\/install<\/a><\/li><li>Learn more about Android Studio \u2013&nbsp;<a href=\"https:\/\/developer.android.com\/studio\/intro\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developer.android.com\/studio\/intro\/<\/a><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1 : Get the Flutter SDK<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1 Download the following installation bundle to get the latest stable release of the Flutter SDK:<br>2 Extract the zip file and place the contained&nbsp;<strong>flutter<\/strong>&nbsp;in the desired installation location for the Flutter SDK (for example,<strong>&nbsp;C:\\src\\flutter;&nbsp;<\/strong>do not install Flutter in a directory like&nbsp;<strong>C:\\Program Files\\&nbsp;<\/strong>that requires elevated privileges).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2 : Update your path<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you wish to run Flutter commands in the regular Windows console, take these steps to add Flutter to the PATH environment variable:<br>From the Start search bar, enter \u2018env\u2019 and select&nbsp;<strong>Edit environment variables for your account.<\/strong><br>Under&nbsp;<strong>User variables&nbsp;<\/strong>check if there is an entry called&nbsp;<strong>Path:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>If the entry exists, append the full path to\u00a0<strong>flutter\\bin\u00a0<\/strong>using ; as a separator from existing values.<\/li><li>If the entry doesn\u2019t exist, create a new user variable named Path with the full path to\u00a0<strong>flutter\\bin<\/strong>\u00a0as its value.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"important\">Important:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Note that you have to close and reopen any existing console windows for these changes to take effect.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>You are now ready to run Flutter commands in the Flutter Console!<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 3 : Run flutter doctor<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">From a console window that has the Flutter directory in the path (see above), run the following command to see if there are any platform dependencies you need to complete the setup:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">C:\\src\\flutter&gt;flutter doctor<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>If you find any issue during environment setup, please go online&nbsp;<a href=\"https:\/\/flutter.dev\/docs\/get-started\/install\/windows\" target=\"_blank\" rel=\"noreferrer noopener\">Click here<\/a><\/strong><\/p>\n","protected":false},"featured_media":0,"parent":5501,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-5508","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/5508","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/comments?post=5508"}],"version-history":[{"count":1,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/5508\/revisions"}],"predecessor-version":[{"id":5517,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/5508\/revisions\/5517"}],"up":[{"embeddable":true,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/5501"}],"next":[{"title":"How to Setup Flutter in Android Studio \u2013 macOS\u200b","link":"https:\/\/rockerstech.com\/documentation\/docs\/quickstart-login-registration-app\/prerequisite-tools-setup\/how-to-setup-flutter-in-android-studio-macos%e2%80%8b\/","href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/5510"}],"prev":[{"title":"Tools & Setup","link":"https:\/\/rockerstech.com\/documentation\/docs\/quickstart-login-registration-app\/prerequisite-tools-setup\/tools-setup\/","href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/5505"}],"wp:attachment":[{"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/media?parent=5508"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=5508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}