I have 70MB video file and i want to play through raw folder but app is not launching how to add this video file in asset/raw folder in android?
The raw (res/raw) folder is one of the most important folders and it plays a very important role during the development of android projects in android studio. The raw folder in Android is used to keep mp3, mp4, sfb files, etc. The raw folder is created inside the res folder: main/res/raw.
The size limit is 1MB. (although I havent found this in android docs but found this info from several other links). So better to split you video in different raw files which size will be less than 1MB and use from them.
Also remember that you can not upload an apk which size is more than 50mb in google play. So if you want that you will need apk expansion files too.
Helpful Links
Its quite clear from Documentation that your apk size can be uptu 4 GB. So there will be now issue to keep one 70 MB file inside raw folder. See Android Break Limitation of 50 MB
APK size depends largely on draw able, Assets and Raw folder
Issue : Generally bigger size of apk does not installed on device or they create issue while installing.
If you are compelled and do not have server then keep it inside raw else keep video at server download it once application run first time save in Local Memory
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