I want to delete a file in assets folder in run-time. I have a database file in assets folder that copies to data folder at run-time but after installing my app the size of app become twice as large (assets + data folder)!
How I can delete database file from assets folder to avoid this?
You can’t delete a file at runtime that was delivered with your App.
See this discussion about it:
How to remove a file in assets at run time?
The whole content of your APK is read only and can not be modified