Android: Installing [dot]apk file on Emulator in Windows


If you want to install a .apk file on your emulator then you need Android Debug Bridge (adb)  which is a command line tool for Android.

Follow few simple steps for installation –

  • Download the required files for adb command line installation from www.suvendugiri.com/AndroidResources/adb.zip
  • Extract and copy all 3 files.
  • Paste to the tools sub-folder of root directory of Android SDK installation
    For Example: In my case – C:\Program Files\Android\android-sdk\tools
  • Start your emulator and wait till home screen has not come.
  • Now open command prompt.
  • Change directory to have the current directory till tool i,e, the folder where you have pasted the 3 extracted files in the above step.
    For Example:  In my case – C:\Program Files\Android\android-sdk\tools
  • Now type :
    adb install E:\AndroidAPKs\MyDemoProject.apk
    Where E:\AndroidAPKs\MyDemoProject.apk is the apk file I wanted to install with it’s detail folder path.
  • Then press enter.

That’s it !!!

[NOTE/DISCLAIMER: ALL THE ABOVE STEPS WORKS FINE FOR ME. BUT, I DON’T TAKE ANY RESPONSIBILITY FOR ANY HARDWARE/SOFTWARE DAMAGE CAUSED DUE TO THIS ARTICLE . YOU SHOULD DO IT ALL WITH YOUR OWN RISK. ]

https://suvendugiri.wordpress.com/2012/01/24/android-installing-dotapk-file-on-emulator-in-windows/

Advertisements