{"id":366035,"date":"2021-11-12T16:00:28","date_gmt":"2021-11-12T13:00:28","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/how-to-set-up-flutter-with-android-studio-on-linux-cloudsavvy-it\/"},"modified":"2024-12-10T15:58:04","modified_gmt":"2024-12-10T12:58:04","slug":"how-to-set-up-flutter-with-android-studio-on-linux-cloudsavvy-it","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/how-to-set-up-flutter-with-android-studio-on-linux-cloudsavvy-it\/","title":{"rendered":"#How to Set Up Flutter With Android Studio on Linux"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a2dfb358e2cc\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a2dfb358e2cc\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/how-to-set-up-flutter-with-android-studio-on-linux-cloudsavvy-it\/#Downloading_Android_Studio\" >Downloading Android Studio<\/a><\/li><\/ul><\/nav><\/div>\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/flutter.dev\/\" target=\"_blank\" rel=\"noreferrer noopener\">Flutter is<\/a>&nbsp;a Google development platform that lets you write cross-platform mobile apps using one codebase. Apps are developed in Dart, a typed and object-oriented language that compiles to either native code or Java<a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">Script<\/a>. This means you can target Android, iOS, desktop operating systems, and the web with a single Flutter project.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Flutter comes packaged with a React-like framework for declaratively defining interfaces. It also ships with built-in Material Design and iOS-like components that let you quickly layer up a new interface. Developer ease-of-use is further enhanced by robust integrations with IDEs, live debugging tools, and testing libraries.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Flutter&#8217;s popularity has&nbsp;<a href=\"https:\/\/www.statista.com\/statistics\/869224\/worldwide-software-developer-working-hours\" target=\"_blank\" rel=\"noreferrer noopener\">rapidly grown<\/a>&nbsp;over the past few years as more developers have been tempted by its unified approach. Here&#8217;s how to start your own Flutter development environment with Android Studio on a Linux machine.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"downloading-android-studio\"><span class=\"ez-toc-section\" id=\"Downloading_Android_Studio\"><\/span>Downloading Android Studio<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Begin by downloading and installing the Android Studio IDE. Android Studio is based on JetBrains&#8217; IntelliJ IDEA and is the official development environment for the Android platform. When augmented with the Flutter plugin, it also provides a first-class development experience for Flutter apps.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Head to the&nbsp;<a href=\"https:\/\/developer.android.com\/studio#downloads\" target=\"_blank\" rel=\"noreferrer noopener\">downloads page<\/a>&nbsp;and grab the latest Studio release for Linux. You&#8217;ll be prompted to accept a license agreement before the download begins.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/csit\/2021\/11\/ee84100b.png\" alt=\"Screenshot of the Android Studio download page\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Extract the archive once the download&#8217;s complete. The unpacked directory tree contains everything needed to run Android Studio &#8211; there&#8217;s no separate installation script. For this reason, it&#8217;s often best to extract to a directory that&#8217;s commonly used to store applications.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tar -xf android-studio-* -C \/opt\/android-studio<br>chown -R $USER:$USER \/opt\/android-studio<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To launch Android Studio, run the&nbsp;<code>studio.sh<\/code>&nbsp;script inside the&nbsp;<code>bin<\/code>&nbsp;directory. Add this directory to your path if you&#8217;ll be using the IDE regularly. Otherwise you&#8217;ll need to specify the full path on every launch:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/opt\/android-studio\/bin\/studio.sh &amp;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The trailing ampersand means you&#8217;ll be able to close your shell and keep using Android Studio.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/csit\/2021\/11\/8fd445ff.png\" alt=\"Screenshot of setting up Android Studio\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Follow the first run setup wizard to configure your IDE. For the purposes of this tutorial, you can accept the defaults and create a &#8220;Standard&#8221; installation. This will automatically download a recent Android Emulator release and the Android build tools. These will be useful later when it comes to debugging Flutter apps.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Related article:&nbsp;<a href=\"https:\/\/blog.achievable.me\/tech\/developer-options-enable-usb-debugging\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to access Developer Options and enable USB Debugging on an Android device<\/a><\/strong><\/p>\n\n\n<blockquote>\n<p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMN63nwsw68G3Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/category\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology<\/a><\/span> category.<\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.howtogeek.com\/devops\/how-to-set-up-flutter-with-android-studio-on-linux\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>Flutter is&nbsp;a Google development platform that lets you write cross-platform mobile apps using one codebase. Apps are developed in Dart, a typed and object-oriented language that compiles to either native code or JavaScript. This means you can target Android, iOS, desktop operating systems, and the web with a single Flutter project. Flutter comes packaged with&#8230;<\/p>\n","protected":false},"author":1,"featured_media":646427,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/static1.howtogeekimages.com\/wordpress\/wp-content\/uploads\/csit\/2021\/11\/af168a3a.jpeg?q=50&fit=crop&w=1140&h=&dpr=1.5","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[39382,153107,89628,36056],"class_list":["post-366035","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","tag-android","tag-android-studio","tag-flutter","tag-linux"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/366035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=366035"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/366035\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/646427"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=366035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=366035"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=366035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}