获取assets文件内容,raw内容时间:2023-03-09 01:12:18 1.均采用流的方式获取里面的内容 assets context.getAssets().open(“fileName”); raw InputStream inputStream = context.getResources().openRawResource(R.raw.config);