How to install the application in
*.apk file into the Android emulator?
launch the emulator
install with :
$> adb install fileexplorer.apk
then click on the icon on the emulator
–> It will give list of devices running by your SDK
–> If there is only one device…use this command
adb install “.apk”
–> If there are multiple devices running then you need to select the emulator
adb -s emulator-5556 install “.apk”
Go to ADT Bundle->SDK -> Platform Tools -> paste the .apk file.
adb install filename.apk
- Execute the emulator.
- Start the console (Windows XP), Run -> type cmd, and move to the platform-tools folder of SDK directory.
- Paste the APK file in the ‘platform-tools’ folder.
Then type the following command.
adb install [apk file name]
adb install gaurav.apk
Run emulator -> drag and drop yourApp.apk into emulator screen. Works in android studio.Credit goes to this answer.