{"id":279,"date":"2022-09-10T05:50:21","date_gmt":"2022-09-10T05:50:21","guid":{"rendered":"https:\/\/barahasoft.com.np\/blog\/?p=279"},"modified":"2022-09-26T03:15:42","modified_gmt":"2022-09-26T03:15:42","slug":"best-android-studio-tips-and-tricks-that-we-must-know-while-smart-coding","status":"publish","type":"post","link":"https:\/\/barahasoft.com.np\/blog\/best-android-studio-tips-and-tricks-that-we-must-know-while-smart-coding\/","title":{"rendered":"Best Android Studio Tips and Tricks that we must know while smart coding"},"content":{"rendered":"\n<p>Being an Android developer,  we must thank Google for this giant tool. To utilize its power perfectly,  we must know the way to use its features. Here in this blog, we will discuss different tips and tricks that can be used while coding.<\/p>\n\n\n\n<p><strong>These shortcuts can make our coding faster and easier.<\/strong><br>1. <em>ctrl+alt+o<\/em> : it removes unused imports.<br>2. <em>ctrl+shift+down<\/em>: it moves current line  one step down<br>3. <em>ctrl+d<\/em>: it duplicates current line<br>4.<em> ctrl+y<\/em>: it deletes current line<br>5. <em>ctrl+alt+l<\/em>: format all code in file<\/p>\n\n\n\n<p><strong>Change to specific plugin version and required gradle version<\/strong> <br>File > Project Structure > Project<br><br><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" width=\"400\" height=\"300\" src=\"https:\/\/barahasoft.com.np\/blog\/wp-content\/uploads\/2022\/09\/gradle-toggle.jpg\" alt=\"\" class=\"wp-image-301\" srcset=\"https:\/\/barahasoft.com.np\/blog\/wp-content\/uploads\/2022\/09\/gradle-toggle.jpg 400w, https:\/\/barahasoft.com.np\/blog\/wp-content\/uploads\/2022\/09\/gradle-toggle-300x225.jpg 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/figure><\/div>\n\n\n\n<p>click <a rel=\"noreferrer noopener\" href=\"https:\/\/developer.android.com\/studio\/releases\/gradle-plugin\" target=\"_blank\">here<\/a> to see release notes <\/p>\n\n\n\n<p><strong>Toogle Offline\/Online Gradle<\/strong><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"281\" height=\"219\" src=\"https:\/\/barahasoft.com.np\/blog\/wp-content\/uploads\/2022\/09\/toggle-offline.png\" alt=\"\" class=\"wp-image-304\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Being an Android developer, we must thank Google for this giant tool. To utilize its power perfectly, we must know the way to use its features. Here in this blog, we will discuss different tips and tricks that can be used while coding. These shortcuts can make our coding faster and easier.1. ctrl+alt+o : it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":280,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":"","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Best Android Studio Tips and Tricks that we must know while smart coding - BS Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/barahasoft.com.np\/blog\/best-android-studio-tips-and-tricks-that-we-must-know-while-smart-coding\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Best Android Studio Tips and Tricks that we must know while smart coding - BS Blog\" \/>\n<meta property=\"og:description\" content=\"Being an Android developer, we must thank Google for this giant tool. To utilize its power perfectly, we must know the way to use its features. Here in this blog, we will discuss different tips and tricks that can be used while coding. These shortcuts can make our coding faster and easier.1. ctrl+alt+o : it [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/barahasoft.com.np\/blog\/best-android-studio-tips-and-tricks-that-we-must-know-while-smart-coding\/\" \/>\n<meta property=\"og:site_name\" content=\"BS Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-10T05:50:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-26T03:15:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/barahasoft.com.np\/blog\/wp-content\/uploads\/2022\/09\/Chipmunk_Splash.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/barahasoft.com.np\/blog\/#website\",\"url\":\"https:\/\/barahasoft.com.np\/blog\/\",\"name\":\"BS Blog\",\"description\":\"Baraha Soft Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/barahasoft.com.np\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/barahasoft.com.np\/blog\/best-android-studio-tips-and-tricks-that-we-must-know-while-smart-coding\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/barahasoft.com.np\/blog\/wp-content\/uploads\/2022\/09\/Chipmunk_Splash.png\",\"width\":1200,\"height\":600},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/barahasoft.com.np\/blog\/best-android-studio-tips-and-tricks-that-we-must-know-while-smart-coding\/#webpage\",\"url\":\"https:\/\/barahasoft.com.np\/blog\/best-android-studio-tips-and-tricks-that-we-must-know-while-smart-coding\/\",\"name\":\"Best Android Studio Tips and Tricks that we must know while smart coding - BS Blog\",\"isPartOf\":{\"@id\":\"https:\/\/barahasoft.com.np\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/barahasoft.com.np\/blog\/best-android-studio-tips-and-tricks-that-we-must-know-while-smart-coding\/#primaryimage\"},\"datePublished\":\"2022-09-10T05:50:21+00:00\",\"dateModified\":\"2022-09-26T03:15:42+00:00\",\"author\":{\"@id\":\"https:\/\/barahasoft.com.np\/blog\/#\/schema\/person\/4f97ce15b5eda1cd9fc64e3362dca065\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/barahasoft.com.np\/blog\/best-android-studio-tips-and-tricks-that-we-must-know-while-smart-coding\/\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/barahasoft.com.np\/blog\/#\/schema\/person\/4f97ce15b5eda1cd9fc64e3362dca065\",\"name\":\"Mahen\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/barahasoft.com.np\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2d90f77c4da8e61f15085bfd7b473714?s=96&d=mm&r=g\",\"caption\":\"Mahen\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","ads":{"ads-top":"","ads-top-link":"","ads-bottom":"","ads-bottom-link":"","ads-side-top":"","ads-side-top-link":"","ads-side-bottom":"","ads-side-bottom-link":""},"_links":{"self":[{"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/posts\/279"}],"collection":[{"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/comments?post=279"}],"version-history":[{"count":6,"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/posts\/279\/revisions"}],"predecessor-version":[{"id":305,"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/posts\/279\/revisions\/305"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/media\/280"}],"wp:attachment":[{"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/media?parent=279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/categories?post=279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/barahasoft.com.np\/blog\/wp-json\/wp\/v2\/tags?post=279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}