views:

57

answers:

2

Is there any way to always do a fresh install when I'm "Running" my Android app for testing on either a real device or an emulator. It always tells me "No need to install because application is already on device", then just launches the main Intent.

Any ideas? Thanks!

+2  A: 

You need make a code change and recompile for Eclipse to push out a fresh copy of the app to your phone, otherwise it skips the reinstall step since its unnecessary.

You could manually uninstall the app from your phone if you want to force a fresh install.

Ryan Berger
+2  A: 

You don't necessarily have to make changes to the code. You can clean the project via Eclipse (via Project->Clean menu in Eclipse IDE and then selecting the project you want). That will recompile your code and reinstall the app.

Thira