1、需要申请手机读写的权限AndroidMani.xml里面配置权限<uses-permissionandroid:name="android.permission.WRITE_EXTERNAL_STORAGE"/><uses-permissionandroid:name="android.permission.READ_EXTERNAL_STORAGE"/>我们一般采用RxPermission来申请权限RxPermissions(this).requestEachCombined(Manifest.permission.WRITE_E