{"id":4084,"date":"2010-02-01T15:21:40","date_gmt":"2010-02-01T09:51:40","guid":{"rendered":"http:\/\/mobisoftinfotech.com\/?p=4084"},"modified":"2024-11-26T20:51:20","modified_gmt":"2024-11-26T15:21:20","slug":"installing-apk-files-on-android-device-emulator","status":"publish","type":"post","link":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator","title":{"rendered":"Installing APK Files on Android Device Emulator"},"content":{"rendered":"\n<p>Let me first clear one thing, You do not need Eclipse or Eclipse-plugin the Android Development Tools (ADT) in order to run .APK file (adhoc builds) on emulator. They required for the software\/application development for Android, but are not necessary for application adhoc testing on emulator.<\/p>\n<p>You will need to download the Android SDK, which can be obtained here: <a title=\"http:\/\/code.google.com\/android\/download.html\" href=\"http:\/\/code.google.com\/android\/download.html\" rel=\"nofollow noopener\">http:\/\/code.google.com\/android\/download.html<\/a><\/p>\n<p>Before running .apk into emulator, it is needed to setup the sdk first.<\/p>\n<h2><b>Installing the SDK:<\/b><\/h2>\n<p>After downloading the SDK, unpack the .zip archive to a suitable location on your machine. For the rest of this document, we will refer to the directory where you installed the SDK as <strong>$<\/strong>SDK_ROOT.<\/p>\n<p>Optionally, you can add $SDK_ROOT\/tools to your path:<\/p>\n<ul>\n<li>On Linux, edit your ~\/.bash_profile or ~\/.bashrc file. Look for a line that sets the PATH environment variable and add the full path to your $SDK_ROOT\/tools to it. If you don&#8217;t see a line setting the path, you can add one:<br>\nexport PATH=${PATH}:<\/li>\n<li>On a Mac, look in your home directory for .bash_profile and proceed as for Linux. You can create the .bash_profile, if you haven&#8217;t already set one up on your machine.<\/li>\n<li>On Windows, right click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path under System Variables, and add the full path to the tools\/ directory under $SDK_ROOT to it.<\/li>\n<\/ul>\n<p>*<strong>Note<\/strong>* &#8211; Updating the SDK for newer releases means you might also need to update the PATH settings.<\/p>\n<p>If you have not created android virtual device (AVD)  yet, then in ..\/tools directory,<\/p>\n<p>run command .\/android<\/p>\n<p>This will open up the window to let you add virtual device with specific sdk version 1.6 or 2.0<\/p>\n<p>To check AVDs present you can run the command .\/android list avd<\/p>\n<p>Using emulator:<\/p>\n<ul>\n<li> Go to $SDK_ROOT\/tools directory and execute the file &#8217;emulator.exe&#8217;.<\/br>\n<p>You might need to also include android virtual device (AVD) to command line execution for example,<\/p>\n<p>.\/emulator -avd TestDevice<\/p>\n<p>Please wait couple of minutes until it loads. You should see the home screen of the android emulator.<\/p>\n<\/li>\n<li> Save\/copy the APK file directly in the $SDK_ROOT\/tools directory.<\/br>\n<\/li>\n<li> Goto Shell\/Terminal\/CommandPrompt, adb install fileName.apk <em>(You will need to shell\/terminal\/cmd sessions live)<\/em><\/br>\n<p>or .\/adb install fileName.apk<\/p>\n<\/li>\n<li> if there is &#8216;Path not found&#8217; error then you need to add $SDK_ROOT\/tools directory to your system PATH settings correctly.<\/br>\n<\/li>\n<li> After above command executions, you will be able to see installed apk into emulator.<\/br>\n<\/li>\n<\/ul>\n<p>Good luck!<\/p>\n<p>Regards,<\/p>\n<p>Shail<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Let me first clear one thing, You do not need Eclipse or Eclipse-plugin the Android Development Tools (ADT) in order to run .APK file (adhoc builds) on emulator. They required for the software\/application development for Android, but are not necessary for application adhoc testing on emulator. You will need to download the Android SDK, which [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"","footnotes":""},"categories":[4],"tags":[44,459,42,43],"class_list":["post-4084","post","type-post","status-publish","format-standard","hentry","category-android","tag-adhoc","tag-android","tag-apk","tag-emulator"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Installing APK Files on Android Device Emulator - Mobisoft Infotech<\/title>\n<meta name=\"description\" content=\"Click to learn more on how to install APK Files on Android Device Emulator. Also, download the Android SDK here.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing APK Files on Android Device Emulator - Mobisoft Infotech\" \/>\n<meta property=\"og:description\" content=\"Click to learn more on how to install APK Files on Android Device Emulator. Also, download the Android SDK here.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator\" \/>\n<meta property=\"og:site_name\" content=\"Mobisoft Infotech\" \/>\n<meta property=\"article:published_time\" content=\"2010-02-01T09:51:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T15:21:20+00:00\" \/>\n<meta name=\"author\" content=\"Shailendra Sinhasane\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shailendra Sinhasane\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator#article\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator\"},\"author\":{\"name\":\"Shailendra Sinhasane\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/96639f99996adb3c17186bb723a85506\"},\"headline\":\"Installing APK Files on Android Device Emulator\",\"datePublished\":\"2010-02-01T09:51:40+00:00\",\"dateModified\":\"2024-11-26T15:21:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator\"},\"wordCount\":451,\"commentCount\":0,\"keywords\":[\"adhoc\",\"Android\",\"apk\",\"emulator\"],\"articleSection\":[\"Android\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator\",\"name\":\"Installing APK Files on Android Device Emulator - Mobisoft Infotech\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\"},\"datePublished\":\"2010-02-01T09:51:40+00:00\",\"dateModified\":\"2024-11-26T15:21:20+00:00\",\"author\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/96639f99996adb3c17186bb723a85506\"},\"description\":\"Click to learn more on how to install APK Files on Android Device Emulator. Also, download the Android SDK here.\",\"breadcrumb\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mobisoftinfotech.com\/resources\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Installing APK Files on Android Device Emulator\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/\",\"name\":\"Mobisoft Infotech\",\"description\":\"Discover Mobility\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/96639f99996adb3c17186bb723a85506\",\"name\":\"Shailendra Sinhasane\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/6a527212174c21bf1aa7d411c8e9a757140582495ed908ca449671cdc75eb17d?s=96&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6a527212174c21bf1aa7d411c8e9a757140582495ed908ca449671cdc75eb17d?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6a527212174c21bf1aa7d411c8e9a757140582495ed908ca449671cdc75eb17d?s=96&r=g\",\"caption\":\"Shailendra Sinhasane\"},\"sameAs\":[\"http:\/\/www.mobisoftinfotech.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Installing APK Files on Android Device Emulator - Mobisoft Infotech","description":"Click to learn more on how to install APK Files on Android Device Emulator. Also, download the Android SDK here.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator","og_locale":"en_US","og_type":"article","og_title":"Installing APK Files on Android Device Emulator - Mobisoft Infotech","og_description":"Click to learn more on how to install APK Files on Android Device Emulator. Also, download the Android SDK here.","og_url":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator","og_site_name":"Mobisoft Infotech","article_published_time":"2010-02-01T09:51:40+00:00","article_modified_time":"2024-11-26T15:21:20+00:00","author":"Shailendra Sinhasane","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Shailendra Sinhasane","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator#article","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator"},"author":{"name":"Shailendra Sinhasane","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/96639f99996adb3c17186bb723a85506"},"headline":"Installing APK Files on Android Device Emulator","datePublished":"2010-02-01T09:51:40+00:00","dateModified":"2024-11-26T15:21:20+00:00","mainEntityOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator"},"wordCount":451,"commentCount":0,"keywords":["adhoc","Android","apk","emulator"],"articleSection":["Android"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator","url":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator","name":"Installing APK Files on Android Device Emulator - Mobisoft Infotech","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#website"},"datePublished":"2010-02-01T09:51:40+00:00","dateModified":"2024-11-26T15:21:20+00:00","author":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/96639f99996adb3c17186bb723a85506"},"description":"Click to learn more on how to install APK Files on Android Device Emulator. Also, download the Android SDK here.","breadcrumb":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/android\/installing-apk-files-on-android-device-emulator#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mobisoftinfotech.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Installing APK Files on Android Device Emulator"}]},{"@type":"WebSite","@id":"https:\/\/mobisoftinfotech.com\/resources\/#website","url":"https:\/\/mobisoftinfotech.com\/resources\/","name":"Mobisoft Infotech","description":"Discover Mobility","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/96639f99996adb3c17186bb723a85506","name":"Shailendra Sinhasane","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/6a527212174c21bf1aa7d411c8e9a757140582495ed908ca449671cdc75eb17d?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/6a527212174c21bf1aa7d411c8e9a757140582495ed908ca449671cdc75eb17d?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a527212174c21bf1aa7d411c8e9a757140582495ed908ca449671cdc75eb17d?s=96&r=g","caption":"Shailendra Sinhasane"},"sameAs":["http:\/\/www.mobisoftinfotech.com"]}]}},"_links":{"self":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/4084","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/comments?post=4084"}],"version-history":[{"count":9,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/4084\/revisions"}],"predecessor-version":[{"id":32575,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/4084\/revisions\/32575"}],"wp:attachment":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media?parent=4084"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/categories?post=4084"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/tags?post=4084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}