Posts

Showing posts with the label Android on Linux

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 Paste the .apk file to platform-tools in the android-sdk directory. Open Terminal and navigate to platform-tools folder in android-sdk. Then Execute this command – ./adb install xyz. apk If the installation is successful then you will get your app in the launcher of your android emulator. Windows Open the cmd, and move to the platform-tools folder of the android-sdk directory. Paste the .apk file in the ‘platform-tools‘ folder. Then Execute thi