We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android11 的分区存储导致的报错 创建文件夹使用 context.getExternalFilesDir(Environment.DIRECTORY_MUSIC).getAbsolutePath()方法获取文件路径
1、修改的moule 里面的 RecordService 的getFilePath方法 2、把moulel里面的String.format(Locale.getDefault(), "%s/Record/", Environment.getExternalStorageDirectory().getAbsolutePath()) 都换成context.getExternalFilesDir(Environment.DIRECTORY_MUSIC).getAbsolutePath() 然后就可以了
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Android11 的分区存储导致的报错
创建文件夹使用 context.getExternalFilesDir(Environment.DIRECTORY_MUSIC).getAbsolutePath()方法获取文件路径
1、修改的moule 里面的 RecordService 的getFilePath方法
2、把moulel里面的String.format(Locale.getDefault(), "%s/Record/", Environment.getExternalStorageDirectory().getAbsolutePath()) 都换成context.getExternalFilesDir(Environment.DIRECTORY_MUSIC).getAbsolutePath()
然后就可以了
The text was updated successfully, but these errors were encountered: