How to install the external app to the android emulator

Updated 22 December 2016

Save

In this blog,

We have shown you how to install any external app to the android emulator in Android.

 

How to install the .apkĀ file on the emulator

First of all Execute the emulator.

Linex:

You have to follow the below steps,

  1. Paste the .apk file to platform-tools in the android-sdk Linux folder.
  2. Open Terminal and navigate to platform-tools folder in android-sdk.
  3. Then Execute this command –

    ./adb install demo.apk

  4. If the installation is successful then you will get your app in the launcher of your android emulator.

Windows:

Follow the steps if you want to do installation in windows,

  1. Open the cmd, and move to the platform-tools folder of theĀ android-SDK directory.
  2. Paste the .apk file in the ‘android-sdk\tools‘ or ‘platform-tools‘ folder.
  3. Then type the following command.

    adb install C:\Users\Name\AndroidProjects\build\demo.apk

 

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


4 comments

  • Syed Tabish Ali
    thanks.
  • lovepreet sandhu
    thank you so much
  • android dreamer
    Doesn’t work for me. Here is the output

    * daemon not running; starting now at tcp:5037
    * daemon started successfully
    error: no devices/emulators found
    Performing Push Install
    adb: error: failed to get feature set: no devices/emulators found

    • anchit (Moderator)
      Hi,

      Is your emulator device running when you are getting this error?

      The error clearly states that adb is not able to connect to any of the devices/emulators.

      Please make sure that your emulator is in the running state.

  • Start a Project


      Message Sent!

      If you have more details or questions, you can reply to the received confirmation email.

      Back to Home