Skip to main content

How to Install APK Files on Android Device Emulator

In this tutorial you are to run any APK (Android application) file to your Android emulator. Assuming you already have the Emulator running  (if not sure how run the Android device emulator, refer to this http://blog.kerul.net/2011/09/android-emulator-to-run-your-apps.html) .

image  Figure 1

Locate your adb.exe file in your Android SDK folder. In Windows environment normally your adb.exe is inside [Android-SDK-folder]/platform-tools/ . In my case, the adb.exe is in C:\android-juno\android-sdk\platform-tools (this is an example path to the adb.exe, may varies depending on your system). Find any APK file (for the purpose of this tutorial, I’ve prepare an APK file – download here http://bit.ly/peribahasa-apk ). After you’ve successfully downloaded the APK, put it inside your [Android-SDK-folder]/platform-tools/ as in Figure 2.

How to Install APK Files on Android Device Emulator 

Figure 2

Now run the adb.exe through the command prompt, go to Start, and find cmd.

image Figure 3

In the command line, go inside the platform-tools folder, as in the Figure 4. Execute command;

adb install Peribahasa.apk

C:\Users\kerul>cd\

C:\>cd android-juno

C:\android-juno>cd android-sdk

C:\android-juno\android-sdk>cd platform-tools

C:\android-juno\android-sdk\platform-tools>adb install Peribahasa.apk


image Figure 4


Later, the apps you just install will be in the emulator.


image

Comments

  1. thank you very much for teaching me this..thank full to u.

    ReplyDelete
  2. Hey Thanx for such simple steps
    just tell me How to Install Facebook apk on emulator Itried by same way bt its not working for me
    Its showing
    INSTALL_FAILED_OLDER_SDK
    I have Downloaded FB sdk from Developers.facebook but I m nt getting Why prb pls help
    Thnx in Advance !

    ReplyDelete
  3. You are a Real Android Developer,Thank you Very Much

    ReplyDelete
  4. Wow really good idea to install. Thanx a lot for teaching us :)

    ReplyDelete

Post a Comment

Popular posts from this blog

Several English proverbs and the Malay pair

Or you could download here for the Malay proverbs app – https://play.google.com/store/apps/details?id=net.kerul.peribahasa English proverbs and the Malay pair Corpus Reference: Amir Muslim, 2009. Peribahasa dan ungkapan Inggeris-Melayu. DBP, Kuala Lumpur http://books.google.com.my/books/about/Peribahasa_dan_ungkapan_Inggeris_Melayu.html?id=bgwwQwAACAAJ CTRL+F to search Proverbs in English Definition in English Similar Malay Proverbs Definition in Malay 1 Where there is a country, there are people. A country must have people. Ada air adalah ikan. Ada negeri adalah rakyatnya. 2 Dry bread at home is better than roast meat home's the best hujan emas di negeri orang,hujan batu di negeri sendiri Betapa baik pun tempat orang, baik lagi tempat sendiri. 3 There's no accounting for tastes We can't assume that every people have a same feel Kepala sama hitam hati lain-lain. Dalam kehidupan ini, setiap insan berbeza cara, kesukaan, perangai, tabia...

Simple search – result appears in the same page

This PHP code is a simple search example. It needs the user to enter a name and the PHP script will to the searching by the name provided by the user in the text box. <form name='search' method='get' action=''> Insert the firstname <input type='text' name='txtname'> <input type='submit' value='search name'> </form> <?php //database connect $db=mysqli_connect("localhost","root","","mycompanyhr"); //checking database connection if ($db==false) { echo "Connect failed: ". mysqli_connect_error($db); exit(); } else { echo "Connection successful"; } $n=$_GET['txtname']; $sql="select EMPNO, FIRSTNAME, LASTNAME, WORKDEPT, PHONENO from employee where FIRSTNAME like '%$n%' "; $rs=mysqli_query($db,$sql); if($rs==false){ echo ("Query cannot be executed!<br>"); echo ("SQL Error : ".mysqli_error($db)); } else...

WebDev

http://blog.kerul.net PHP DEVELOPMENT TOOLS Download the XAMPP latest version from www.apachefriends.org . This installation file contains the Apache web server, PHP 5 and 4 interpreter, and the MySQL 5 Community edition. - download latest version MozillaFireFox (OpenSource web browser firefox) – download latest version Google Chrome – fastest web browser on earcth – fast download chrome here TEACHING PLAN Download the teaching plan here for Web/Internet Programming ( download ) NOTES HTML references HTML Editor -  http://www.sublimetext.com/ Lab 1: HTML Basics -  http://www.w3schools.com/html/ Lab 2: Responsive Design:  http://www.w3schools.com/html/html_responsive.asp Lab 3: HTML Forms  http://www.w3schools.com/html/html_forms.asp Lab 4: HTML 5  http://www.w3schools.com/html/html5_intro.asp Lab 5: Bootstrap for responsive Web -  http...

Filter setting in new AdMob panel

The new AdMob interface was launched last week (I was invited on early May 2014). The transition was smooth however from my experience I lost all my account balance in the old interface. One thing I do not like with the new apps is, it do not want to support PayPal payment. (Update – later I found out that the new AdMob facility provide direct wired-transfer to you favorite local banks. Just provide your account number and bank SWIFT-BIC and wait till your balance achieve the threshold value. This is normally a three day compared to two weeks PayPal transfer.You can change this in the Account > Payments > Payment Settings )  I have not figured out how to channel my commission payment to my local bank account. The thing I’d like to elaborate is the ads filtering panel. After you have logged-in to the new system (at https://apps.admob.com/ ), find the Account panel on the top-right of the page. Inside the Account panel, click on the Legacy AdMob data menu . Then choose the ...

Submit your blog address here

Create your own blog and send the address by submitting the comment of this article. Make sure to provide your full name, matrix and URL address of your blog. Refer to the picture below. Manual on developing a blog using blogger.com and AdSense, download here … Download Windows Live Writer (a superb offline blog post editor)