Uninstalling Android Application

Posted by Sosukodo on Stack Overflow See other posts from Stack Overflow or by Sosukodo
Published on 2012-09-23T21:14:18Z Indexed on 2012/09/23 21:37 UTC
Read the original article Hit count: 170

Filed under:
|

When I create an Android project in Eclipse and send it to my device for debugging, the app works fine but when I try to uninstall it, I get a strange message. Below are the steps to recreate my problem:

Eclipse Version: 4.2.0 Build id: I20120608-1400

ADT Version: 2.0.3 v201208082019-427395

  1. Run Eclipse
  2. Click File->New->Project...
  3. Select Android/Android Application Project
  4. Click Next.
  5. Enter Application Name: Test
  6. Build SDK: Android 4.1
  7. Minimum Required SDK: API 8 Android 2.2
  8. Enable: Create custom launcher icon / Create project in workspace
  9. Click Next thrice.
  10. Click Finish.
  11. Connect 4.1 Android device to computer via USB.
  12. Click Run->Run from menu.
  13. Select "Android application" on popup the "Run As" popup.
  14. Click Ok.
  15. MainActivity application runs on device.
  16. Click the Back button on the Android device.
  17. Open applications on device and find "MainActivity" app.
  18. Long press the MainActivity icon and drag to trash.

Here's the puzzling part:

Instead of getting a standard

Do you want to uninstall this app?

I get a dialog with this text:

MainActivity is part of the following app: Test Do you want to uninstall this app?
  1. Why do I get this message instead of the standard one?
  2. Why is MainActivity the name of the app when I specifically stated the name of the app is "Test"?

© Stack Overflow or respective owner

Related posts about android

Related posts about uninstall