Sai Geetha started off as a Java Developer and moved on to work as a Solution Architect and an Enterprise Architect. However, as a hobby she continues to don the hats of a Java Developer as well as an Android Developer. She loves to share what she learns with the larger community. In her interest to share her knowledge, she blogs Android tutorials at saigeethamn.blogspot.com and her other technical musings at sageethatechnical.blogspot.com. Sai Geetha is a DZone MVB and is not an employee of DZone and has posted 18 posts at DZone. You can read more from them at their website. View Full User Profile

Deleting and Removing Android Applications Deployed on Emulator

08.14.2011
| 8047 views |
  • submit to reddit
First, make sure the emulator is running. Then follow below steps:

1. Go to the tools directory in command prompt – c:\>android\tools
2. Type adb shell
3. #cd /data/app (this takes you to the folder where all apk files are installed)
4. #ls (It will display all the .apk installed in your emulator)
5. #rm ***.apk (which you want to remove, all apk files)
6.#exit (exits from the adb shell)


NOTE: to start the emulator, you can start it from eclipse by right clicking an android project and “run as” an “application” or by going to tools directory at command prompt and typing “emulator –avd <avd_name>”
References
Published at DZone with permission of Sai Geetha M N, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)