In this article I am going to explain How to Install and Run apk Files in Android Emulator.
Recently I got an android apk file from my client to replicate that android app in Xamarin.
To check the functionality of that android app, I have to install and run that app in my mobile.
But I don’t want to keep that app in my mobile because I really don’t trust external app and use them in my mobile.
So I have decided to run that in virtual environment or you can call it in Android Emulator.
To run that android apk file in Android Emulator I have to install that in Emulator and that’s why I decided to write this article to explain the process How to Install and Run apk Files in Android Emulator.
Install and Run apk Files in Android Emulator
- To start this process, it is must that you have any Android Emulator installed in your system.
- Navigate to location of Android Emulator, If you have Android Emulator installed then it’s probably in “C:\Program Files (x86)\Android\android-sdk\platform-tools“.
- Open Command Prompt in Emulator directory or after opening command prompt navigate to the Android Emulator directory.
- Copy the path of your android apk file.
- Now in command prompt type following command “adb install” and paste the apk file location so command will look like
“adb install D:\androidfile.apk”
Where androidfile.apk is filename of Android apk, you want o install in Emulator. - After typing command press enter, and wait for Success message.
- Once you get the “Success” message apk is installed in Emulator.
- Now run that app in Android Emulator.
You can watch the video for live Install and Run apk files in Android Emulator
If you have any question or query ask it on Ask Question Page.