{"id":36,"date":"2018-02-07T11:44:00","date_gmt":"2018-02-07T11:44:00","guid":{"rendered":"https:\/\/nezis.gr\/?p=36"},"modified":"2021-12-09T07:44:40","modified_gmt":"2021-12-09T07:44:40","slug":"developer-workflow-basics","status":"publish","type":"post","link":"https:\/\/nezis.gr\/?p=36","title":{"rendered":"Developer Workflow Basics"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/developer.android.com\/studio\/images\/developer-workflow.png\" alt=\"https:\/\/developer.android.com\/studio\/images\/developer-workflow.png\"><\/p>\n<p><!--more--><\/p>\n<ol>\n<li><strong>Set up your workspace<\/strong>This is the phase you probably already finished: <a href=\"https:\/\/developer.android.com\/studio\/index.html\">Install Android Studio<\/a> and <a href=\"https:\/\/developer.android.com\/studio\/projects\/create-project.html\">create a project<\/a>.For a walkthrough with Android Studio that teaches some Android development fundamentals, also check out the guide to <a href=\"https:\/\/developer.android.com\/training\/basics\/firstapp\/index.html\">Building Your First App<\/a>.<\/li>\n<li><strong>Write your app<\/strong>Now you can get to work. Android Studio includes a variety of tools and intelligence to help you work faster, write quality code, design a UI, and create resources for different device types. For more information about the tools and features available, see <a href=\"https:\/\/developer.android.com\/studio\/write\/index.html\">Write Your App<\/a>.<\/li>\n<li><strong>Build and run<\/strong>During this phase, you build your project into a debuggable APK package that you can install and run on the emulator or an Android-powered device. For more information about how to run your code, see <a href=\"https:\/\/developer.android.com\/studio\/run\/index.html\">Build and Run Your App<\/a>.You can also begin customizing your build. For example, you can <a href=\"https:\/\/developer.android.com\/studio\/build\/build-variants.html\">create build variants<\/a> that produce different types of APKs from the same project, and <a href=\"https:\/\/developer.android.com\/studio\/build\/shrink-code.html\">shrink your code and resources<\/a> to make your APK file smaller. For an introduction to customizing your build, see <a href=\"https:\/\/developer.android.com\/studio\/build\/index.html\">Configure Your Build<\/a>.<\/li>\n<li><strong>Debug, profile, and test<\/strong>This is the iterative phase in which you continue writing your app but with a focus on eliminating bugs and optimizing app performance. Of course, creating tests will help you in those endeavors.For information about basic debugging tasks, read <a href=\"https:\/\/developer.android.com\/studio\/debug\/index.html\">Debug Your App<\/a> and <a href=\"https:\/\/developer.android.com\/studio\/debug\/am-logcat.html\">Write and View Logs<\/a>.To view and analyze various performance metrics such as memory usage, network traffic, CPU impact, and more, see <a href=\"https:\/\/developer.android.com\/studio\/profile\/index.html\">Performance Profiling Tools<\/a>.And for an introduction to building tests, see <a href=\"https:\/\/developer.android.com\/studio\/test\/index.html\">Test Your App<\/a>.<\/li>\n<li><strong>Publish<\/strong>When you&#8217;re ready to release your app to users, there are just a few more things to consider, such as versioning your app and signing it with a key. For more information, see the <a href=\"https:\/\/developer.android.com\/studio\/publish\/index.html\">Publish Your App<\/a>.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2],"tags":[3,4,8],"class_list":["post-36","post","type-post","status-publish","format-standard","hentry","category-android","tag-android","tag-android-studio","tag-programming"],"_links":{"self":[{"href":"https:\/\/nezis.gr\/index.php?rest_route=\/wp\/v2\/posts\/36","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nezis.gr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nezis.gr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nezis.gr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nezis.gr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=36"}],"version-history":[{"count":5,"href":"https:\/\/nezis.gr\/index.php?rest_route=\/wp\/v2\/posts\/36\/revisions"}],"predecessor-version":[{"id":92,"href":"https:\/\/nezis.gr\/index.php?rest_route=\/wp\/v2\/posts\/36\/revisions\/92"}],"wp:attachment":[{"href":"https:\/\/nezis.gr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nezis.gr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nezis.gr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}