How to install apk file on android emulator

 Sometimes you do not have android device to test the android app (apk). But don’t worry you can install the android app on the emulator. It is very easy to install and test the app on android emulator. For this even you do not require any IDE or any development experience.

In this post, I have will show you how to install any external app (apk) to the android emulator.

I assume that the emulator is already running on your machine.

To know more how to run the emulator

Following are the step to install the apk on the android emulator.

Linux/Mac

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

    ./adb install xyz.apk
  4. If the installation is successful then you will get your app in the launcher of your android emulator.

Windows

  1. Open the cmd, and move to the platform-tools folder of the android-sdk directory.
  2. Paste the .apk file in the ‘platform-tools‘ folder.
  3. Then
    Execute this command –

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

Comments

Popular posts from this blog

Documentation is Very vital before you develop any system or app

Everything you need to know when developing an on demand service app

Steps followed when creating a new software