Android apk install: How to clear files from old version?
When I install a new version of my .apk, this overwrites the old version without deleting it: In the new version, I deleted some files (libraries generated with NDK) --- but on the device, the old files are still there. How can I ensure that whenever a new version is installed, all old files will be deleted before the installation? Edit/Clarification: This question asks for a solution for existing users of my application. I know that I can clean up the application myself by uninstalling it before installing the new version. But other users will not do this --- keeping the old files on their