There are no hooks in Eclipse, but you can probably do this with Ant. You can add a task that executes the clear ( pm clear my.package ) pm clear my.package before downloading the application. If pm clear does not work, you can write a small script and run it on the device before downloading the application
There is also a βClear user dataβ checkbox for Android, but it only works when the emulator starts.
source share