
{"id":7623,"date":"2018-03-30T15:33:36","date_gmt":"2018-03-30T15:33:36","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=7623"},"modified":"2018-03-30T15:33:36","modified_gmt":"2018-03-30T15:33:36","slug":"how-to-install-android-studio-3-1-easily-via-snap-in-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2018\/03\/how-to-install-android-studio-3-1-easily-via-snap-in-ubuntu\/","title":{"rendered":"How to Install Android Studio 3.1 Easily via Snap in Ubuntu"},"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 IDE 3.1 was released a few days ago. Here&#8217;s how to install it in Ubuntu 16.04, Ubuntu 17.10, Ubuntu 18.04 easily via Snap package.<\/p>\n<p>Android Studio 3.1 introduced a C++ performance profiler for trying to analyze CPU bottlenecks in application code. It also adds lint checks for the Kotlin programming language, SQL code completion support, D8 is now the default Dex compiler, a new build output window, and other enhancements.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/android-studio-1024x575.jpg\" alt=\"\" width=\"600\" height=\"337\" class=\"aligncenter size-large wp-image-4290\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/android-studio-1024x575.jpg 1024w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/android-studio-300x168.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/11\/android-studio.jpg 1366w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>The community has built the IDE into <a href=\"https:\/\/snapcraft.io\/\" target=\"_blank\">snap<\/a>, the universal Linux package format, that can be easily installed on all current Ubuntu releases.<\/p>\n<p><b>1.<\/b> For <b>Ubuntu 14.04<\/b> and <b>Ubuntu 16.04<\/b> users never installed a snap package, you need to install the <code>snapd<\/code> daemon while it&#8217;s not shipped by default in the two LTS.<\/p>\n<p>Open terminal either via Ctrl+Alt+T or by searching &#8216;terminal&#8217; from app launcher. When it opens, run command:<\/p>\n<pre style=\"border:none;\">sudo apt-get install snapd snapd-xdg-open<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/07\/install-snapd-xdg-600x89.jpg\" alt=\"\" width=\"600\" height=\"89\" class=\"aligncenter size-large wp-image-6976\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/07\/install-snapd-xdg-600x89.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/07\/install-snapd-xdg-450x67.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/07\/install-snapd-xdg.jpg 709w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>2.<\/b> Then launch <b>Ubuntu Software<\/b>, search for and install Android Studio.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/03\/android-studio-softwarecenter-600x358.jpg\" alt=\"\" width=\"600\" height=\"358\" class=\"aligncenter size-large wp-image-7624\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/03\/android-studio-softwarecenter-600x358.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/03\/android-studio-softwarecenter-450x269.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/03\/android-studio-softwarecenter-768x458.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/03\/android-studio-softwarecenter.jpg 910w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>For those who prefer command console, run command in terminal to install the snap:<\/p>\n<pre style=\"border:none;\">snap install android-studio --classic<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/03\/android-ide-snap-600x91.jpg\" alt=\"\" width=\"600\" height=\"91\" class=\"aligncenter size-large wp-image-7625\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/03\/android-ide-snap-600x91.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/03\/android-ide-snap-450x68.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/03\/android-ide-snap.jpg 738w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Once installed, launch the Android IDE from your application launcher (log out and log in back if you don&#8217;t see the app icon) and enjoy!<\/p>","protected":false},"excerpt":{"rendered":"<p>Android Studio IDE 3.1 was released a few days ago. Here&#8217;s how to install it in Ubuntu 16.04, Ubuntu 17.10, Ubuntu 18.04 easily via Snap package. Android Studio 3.1 introduced a C++ performance profiler for trying to analyze CPU bottlenecks in application code. It also adds lint checks for the Kotlin programming language, SQL code [&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],"tags":[1174],"class_list":["post-7623","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-android-studio"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/7623","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=7623"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/7623\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=7623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=7623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=7623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}