How to install APK file in Android SDK Emulator

adb install command installs the application in emulator. Following are the options available with adb install command

adb install [-l] [-r] [-s] - push this package file to the device and install it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data)
('-s' means install on SD card instead of internal storage)

Now to install in Windows Machine proceed with following steps.

Install Android SDK

  1. Start your Emulator. (Mostly in C:\adt\sdk\tools\emulator.exe)
  2. Start Command Prompt (Windows + R type cmd )
  3. Go to your platform-tools directory e.g. cd C:\adt\sdk\platform-tools
  4. Paste the APK file in the ‘android-sdk\platform-tools’ folder
  5. .

  6. Run following command.
  7. adb install [apk file name]


    adb -e install -r yourapp.apk

Linux :

  1. Open Terminal
  2. Go to the platform-tools folder
    cd /home/android-sdk/platform-tools
  3. install apk from follwing command
  4. ./adb install [apk file name]


    ./adb install yourapp.apk


  • PATH=$PATH:”adb location”
  • Example : PATH=$PATH:/users/jorgesys/eclipse/android-sdk-mac_64/tools
  • Then run adb.
  • in every machine you’ll get output as
  • 1056 KB/s (328795 bytes in 0.302s)
    pkg: /data/local/tmp/yourapp.apk

While from eclipse you can directly run with emulator which will ultimately install application in your emulator.

Leave a Reply

Your email address will not be published.