Yes, depending on the platform, create an uninstall script. In your project settings, tell the eclipse builder to run it in your project settings. It can only be configured to run after cleaning your project. Alternatively, you can use Ant script, but this may be redundant if you do not already know how to use Ant.
There is an additional problem of handling switching between devices or an emulator, but if you usually use only one, there should be no problem.
If you are just debugging one device or emulator at a time, thatβs all you need:
adb uninstall your.application.package
Dan s
source share