{"id":3945,"date":"2020-04-11T19:04:54","date_gmt":"2020-04-11T19:04:54","guid":{"rendered":"http:\/\/wordpress.creativegigs.net\/docly\/docs\/rogan-wordpress-theme-documentation\/elements\/image-lightbox\/"},"modified":"2021-02-11T07:07:51","modified_gmt":"2021-02-11T07:07:51","slug":"image-hotspots","status":"publish","type":"docs","link":"https:\/\/rockerstech.com\/documentation\/docs\/flutter-ui-kit-quickstart\/elements\/image-hotspots\/","title":{"rendered":"How to Setup Flutter in Android Studio \u2013 Linux\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\/linux\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/flutter.dev\/docs\/get-started\/install\/linux<\/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 Download SDK and extract downloaded file, just double click on that. and just copy extracted folder and paste it to your desired location (for example,&nbsp;Documents\\flutter).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2 : Update your path<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"important\"><em>Important:<\/em><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Path variable needs to be updated to access \u201cflutter\u201d command from terminal. you can just update path variable for current terminal window only. and if you want to access flutter commands from anywhere in terminal, we need to update SDK path permanently.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You\u2019ll probably want to update this variable permanently, so you can run&nbsp;<code>flutter<\/code>&nbsp;commands in any terminal session.&nbsp;To update PATH variable, we need to open terminal.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>export PATH=\"$PATH:&#91;PATH_TO_FLUTTER_GIT_DIRECTORY]\/flutter\/bin\"<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\"><li>Run&nbsp;<code>source $HOME\/.<\/code>&nbsp;to refresh the current window, or open a new terminal window to automatically source the file.<\/li><li>Verify that the&nbsp;<code>flutter\/bin<\/code>&nbsp;directory is now in your PATH by running:<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>echo $PATH<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Verify that the&nbsp;<code>flutter<\/code>&nbsp;command is available by running:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>which flutter<\/code><\/pre>\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","protected":false},"featured_media":0,"parent":2744,"menu_order":4,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-3945","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/3945","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=3945"}],"version-history":[{"count":3,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/3945\/revisions"}],"predecessor-version":[{"id":5656,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/3945\/revisions\/5656"}],"up":[{"embeddable":true,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/2744"}],"prev":[{"title":"How to Setup Flutter in Android Studio \u2013 Windows.","link":"https:\/\/rockerstech.com\/documentation\/docs\/flutter-ui-kit-quickstart\/elements\/notice\/","href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/docs\/2804"}],"wp:attachment":[{"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/media?parent=3945"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/rockerstech.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=3945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}