Wednesday, August 22, 2012

Installing an .apk file in android emulator


  1. Launch your emulator
  2. get an .apk file that you want to install in your emulator
  3. navigate to your android-sdk dir and search for adb.exe
  4. copy the location of the   adb.exe
  5. Right click on my computer and open Advanced Settings and click Environment Variable
  6. select Path from System Variables and click on Edit
  7. add a semi-colon ';' and Paste the location that we copied
  8. open cmd.exe
  9. change the directory to where you have the .apk file located.
  10. after you have reached the directory type :
            adb install filename.apk

and you are done .

No comments:

Post a Comment