how we can remove a file from the assets folder at runtime? Is it even possible?
To delete one or more assets, select the assets in the Browse Panel, and press Delete or go to File > Delete. To delete a folder, select the folder in the Asset Library, and select Remove Folder. Deleting a folder deletes the folder, all the assets in the folder, and all assets in its subfolders.
Assets folder is saved under main folder: main/assets: Here we will share step by step how to create Assets raw folder in Android Studio.
Here is a discussion about it:
http://www.mail-archive.com/[email protected]/msg16172.html
Seems like the apk is read only and you wont be able to modify it.
Edit:
Check commonswares answer here:
Security of Android assets folder
He is saying the same thing, you can't modify it at runtime.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With