{"id":10117,"date":"2020-05-29T14:01:57","date_gmt":"2020-05-29T14:01:57","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=10117"},"modified":"2020-05-29T14:01:57","modified_gmt":"2020-05-29T14:01:57","slug":"android-studio-4-0-released-how-to-install-in-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2020\/05\/android-studio-4-0-released-how-to-install-in-ubuntu-20-04\/","title":{"rendered":"Android Studio 4.0 Released! How to Install in Ubuntu 20.04"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/android-studio-icon.png\" alt=\"\" width=\"250\" height=\"250\" class=\"aligncenter size-full wp-image-7275\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/android-studio-icon.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/android-studio-icon-150x150.png 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>Android Studio 4.0 was released a day ago. Here&#8217;s how to install it in Ubuntu 18.04, Ubuntu 19.10, Ubuntu 20.04.<\/p>\n<p>Android Studio 4.0 features a new Motion Editor, improved Layout Inspector, Clangd support for C++, smart editor features, enhancements to the CPU Profiler, Java 8 language library desugaring in D8 and R8, and much more other changes. See the <a href=\"https:\/\/android-developers.googleblog.com\/2020\/05\/android-studio-4.html\" rel=\"noopener\" target=\"_blank\">release note<\/a> for more.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/android-studio4.png\" alt=\"\" width=\"600\" height=\"325\" class=\"aligncenter size-full wp-image-10118\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/android-studio4.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/android-studio4-450x244.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h4>How to Install Android Studio 4.0 in Ubuntu:<\/h4>\n<p>The containerized Snap package is available to install in Ubuntu Software for Ubuntu 18.04 and higher:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/android-studio-snap.png\" alt=\"\" width=\"600\" height=\"358\" class=\"aligncenter size-full wp-image-10119\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/android-studio-snap.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/android-studio-snap-450x269.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>Don&#8217;t like Snap application?<\/b> You can also install Android Studio 4.0 easily via Ubuntu Make.<\/p>\n<p><b>1.)<\/b> Install the latest Ubuntu Make:<\/p>\n<li>Open terminal (Ctrl+Alt+T) and run command to add <a href=\"https:\/\/launchpad.net\/~lyzardking\/+archive\/ubuntu\/ubuntu-make\" rel=\"noopener\" target=\"_blank\">the PPA<\/a> which contains the latest Ubuntu Make packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.10, and Ubuntu 20.04.\n<pre style=\"border:none;\">sudo add-apt-repository ppa:lyzardking\/ubuntu-make<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/ubuntu-make-ppa-600x117.jpg\" alt=\"\" width=\"600\" height=\"117\" class=\"aligncenter size-large wp-image-10120\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/ubuntu-make-ppa-600x117.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/ubuntu-make-ppa-450x88.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/ubuntu-make-ppa.jpg 743w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/li>\n<li>Then install or upgrade Ubuntu Make via command:\n<pre style=\"border:none;\">sudo apt update && sudo apt install ubuntu-make<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/apt-ubuntumake-1.png\" alt=\"\" width=\"520\" height=\"194\" class=\"aligncenter size-full wp-image-10124\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/apt-ubuntumake-1.png 520w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/apt-ubuntumake-1-450x168.png 450w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/li>\n<p><b>2.)<\/b> Install Android Studio via command:<\/p>\n<pre style=\"border:none;\">umake android --accept-license<\/pre>\n<p>It automatically downloads the software package and dependencies from Google and installs on your system for single use by default.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/umake-android.png\" alt=\"\" width=\"600\" height=\"133\" class=\"aligncenter size-full wp-image-10122\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/umake-android.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/umake-android-450x100.png 450w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>3.)<\/b> Once installed, launch the IDE from &#8216;Show Applications&#8217; menu. Restart you machine if you don&#8217;t see the icon, or run <code>sh ~\/.local\/share\/umake\/android\/android-studio\/bin\/studio.sh<\/code> command to launch it from terminal.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/launch-android-studio-450x230.jpg\" alt=\"\" width=\"450\" height=\"230\" class=\"aligncenter size-medium wp-image-10123\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/launch-android-studio-450x230.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/05\/launch-android-studio.jpg 504w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>\n<h4>Uninstall:<\/h4>\n<p>You may remove Ubuntu Make PPA by running command:<\/p>\n<pre style=\"border:none;\">sudo add-apt-repository --remove ppa:lyzardking\/ubuntu-make<\/pre>\n<p>And remove Android Studio via command:<\/p>\n<pre style=\"border:none;\">umake android --remove<\/pre>","protected":false},"excerpt":{"rendered":"<p>Android Studio 4.0 was released a day ago. Here&#8217;s how to install it in Ubuntu 18.04, Ubuntu 19.10, Ubuntu 20.04. Android Studio 4.0 features a new Motion Editor, improved Layout Inspector, Clangd support for C++, smart editor features, enhancements to the CPU Profiler, Java 8 language library desugaring in D8 and R8, and much more [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,6],"tags":[1174],"class_list":["post-10117","post","type-post","status-publish","format-standard","hentry","category-howtos","category-news","tag-android-studio"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/10117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=10117"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/10117\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=10117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=10117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=10117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}