{"id":2804,"date":"2020-01-14T19:34:13","date_gmt":"2020-01-14T19:34:13","guid":{"rendered":"http:\/\/wordpress.creativegigs.net\/docly\/docs\/rogan-wordpress-theme-documentation\/blocks\/notice\/"},"modified":"2021-02-11T07:03:41","modified_gmt":"2021-02-11T07:03:41","slug":"notice","status":"publish","type":"docs","link":"https:\/\/rockerstech.com\/documentation\/docs\/flutter-ui-kit-quickstart\/elements\/notice\/","title":{"rendered":"How to Setup Flutter in Android Studio \u2013 Windows."},"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&nbsp;<strong>flutter\\bin&nbsp;<\/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&nbsp;<strong>flutter\\bin<\/strong>&nbsp;as 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":2744,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-2804","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/2804","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=2804"}],"version-history":[{"count":2,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/2804\/revisions"}],"predecessor-version":[{"id":5652,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/2804\/revisions\/5652"}],"up":[{"embeddable":true,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/2744"}],"next":[{"title":"How to Setup Flutter in Android Studio \u2013 macOS","link":"https:\/\/rockerstech.com\/documentation\/docs\/flutter-ui-kit-quickstart\/elements\/cheatsheet\/","href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/5138"}],"prev":[{"title":"Tools & Setup","link":"https:\/\/rockerstech.com\/documentation\/docs\/flutter-ui-kit-quickstart\/elements\/accordions\/","href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/2777"}],"wp:attachment":[{"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/media?parent=2804"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=2804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}