How to run .APK file on emulator


Possible Duplicate:
How do you install an APK file in the Android emulator?

I download an APK file and I want to run it on an Android emulator but I don't know how. Please help me. Thanks!

7/24/2017 11:41:48 AM

Accepted Answer

Steps (These apply for Linux. For other OS, visit here) -

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

    ./adb install FileName.apk

  4. If the operation is successful (the result is displayed on the screen), then you will find your file in the launcher of your emulator.

For more info can check this link : android videos

5/23/2017 12:10:08 PM

You need to install the APK on the emulator. You can do this with the adb command line tool that is included in the Android SDK.

adb -e install -r yourapp.apk

Once you've done that you should be able to run the app.

The -e and -r flags might not be necessary. They just specify that you are using an emulator (if you also have a device connected) and that you want to replace the app if it already exists.

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow