How Do I Install An Apk On An Emulator

Below was exerpted from http://openhandsetmagazine.com/2008/01/tips-how-to-install-apk-files-on-android-emulator/

  1. First get the Android SDK and unzip it somewhere on your hard drive
  2. Add SDK_ROOT to your system variables pointing to /tools folder under the sdk
  3. Run the emulator
  4. Copy the apk file to /tools folder
  5. Change directory to /tools and run from commandline $adb install your_application.apk
  6. Now check applications list in the emulator and you should see the new application installed and ready.

Some pointed me to the error message when running adb on windows : * deamon still not running * error: no device.

In this case try to shutdown adb server and start it manually using :
$adb kill-server
$adb start-server

You can test if deamon is working by running $adb shell

The uninstall procedure is

$adb shell rm your_application.apk

Above was exerpted from http://openhandsetmagazine.com/2008/01/tips-how-to-install-apk-files-on-android-emulator/

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License