Similarities and differences between Android res/raw and assets directories

Like the title, the same point: the files placed in these two directories will not be packaged and compiled into binary, and will be placed in the APK intact, such as some sound files, database files, etc., which need to be placed in the APK intact used in

The difference: res/raw does not allow files in the form of folders, while assets can allow folders

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325846331&siteId=291194637