{"id":5,"date":"2019-03-28T08:43:28","date_gmt":"2019-03-28T08:43:28","guid":{"rendered":"https:\/\/tailordev.co.uk\/?p=5"},"modified":"2019-03-28T08:43:28","modified_gmt":"2019-03-28T08:43:28","slug":"starting-android-emulator-from-command-line","status":"publish","type":"post","link":"https:\/\/tailordev.co.uk\/?p=5","title":{"rendered":"Starting Android emulator from command line"},"content":{"rendered":"\n<p class=\"has-drop-cap\">Sometimes you need to start android emulator from the command line for example developing react-native apps, you may don&#8217;t want to open studio open AVD manager and start the emulator. This is the long journey process. So one of android handy tool appear here and make it simple to list existing devices or run the one desired easily. <\/p>\n\n\n\n<p>And open Command prompt  by clicking search and typing &#8220;<strong>cmd<\/strong>&#8221; than right click then choose &#8220;Run as administrator&#8221; item. Than goto the &#8220;<strong>emulator<\/strong>&#8221; directory (and may be the drive also which is android-sdk installed in my case for example it is F: drive and the directory located root of F: drive). And after that opening enter the following command to list all existing emulators:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>C:\\windows\\system32>f:\nf:\\>cd android\\sdk\\emulator\nf:\\android\\sdk\\emulator>emulator.exe -list-avds\n4.65_720p_Galaxy_Nexus_API_15\n7_WSVGA_Tablet_API_24\nAndroid_Accelerated_x86_Oreo\nNexus_5X_API_28_x86\nNexus_7_API_28\nf:\\android\\sdk\\emulator>emulator @Nexus_5X_API_28_x86 -netfast<\/code><\/pre>\n\n\n\n<p>The final command will start your emulator in a moment. At the end the option &#8216;-<strong>netfast<\/strong>&#8216; disable network  throttling or the long format is <strong>&#8220;-netspeed full -netdelay none&#8221;<\/strong><\/p>\n\n\n\n<p>The rest of the option details and more can be found at official android developers page from the following link:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><a href=\"https:\/\/developer.android.com\/studio\/run\/emulator-commandline\">https:\/\/developer.android.com\/studio\/run\/emulator-commandline<\/a><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes you need to start android emulator from the command line for example developing react-native apps, you may don&#8217;t want to open studio open AVD manager and start the emulator. This is the long journey process. So one of android handy tool appear here and make it simple to list existing devices or run the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[3,6,5,4],"_links":{"self":[{"href":"https:\/\/tailordev.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/5"}],"collection":[{"href":"https:\/\/tailordev.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tailordev.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tailordev.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tailordev.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5"}],"version-history":[{"count":1,"href":"https:\/\/tailordev.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/5\/revisions"}],"predecessor-version":[{"id":7,"href":"https:\/\/tailordev.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/5\/revisions\/7"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tailordev.co.uk\/index.php?rest_route=\/wp\/v2\/media\/6"}],"wp:attachment":[{"href":"https:\/\/tailordev.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tailordev.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tailordev.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}