I have a media file under my res/raw
folder and after the app installed I need to delete this file. How to do it?
I know that I can download this file after install and then delete or any other ways, but I need this file to be build. I see only option to make it build in put it to res
folder. But because of size 100Mb I don't wan't to hold it, so I need to remove it.
I am not sure that it is even possible
How to do it?
That is not possible. Resources and assets are packaged in the APK and are read-only. They cannot be modified or deleted.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.