Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install .apk file to emulator?

How to install the application in *.apk file into the Android emulator?

like image 314
RSSS Avatar asked May 27 '10 07:05

RSSS


People also ask

Can we install APK in emulator?

We just need the APK file to install it in the Emulator. First of all, we still have to open the Emulator and after that drag, your APK file and drop it in the emulator anywhere and that's it it will simply install that app in the Emulator.

How do I install an APK file on my PC?

Take the APK you want to install (be it Google's app package or something else) and drop the file into the tools folder in your SDK directory. Then use the command prompt while your AVD is running to enter (in that directory) adb install filename. apk . The app should be added to the app list of your virtual device.


1 Answers

Windows:

  1. Execute the emulator.
  2. Start the console (Windows XP), Run -> type cmd, and move to the platform-tools folder of SDK directory.
  3. Paste the APK file in the 'platform-tools' folder.
  4. Then type the following command.

      adb install [apk file name]
    

    Example:

      adb install gaurav.apk
    
like image 84
GOLDEE Avatar answered Oct 26 '22 01:10

GOLDEE