本文介绍了访问被拒绝查找属性&qot;ro.vendor.df.ffect。冲突&的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我正在录音,但出现错误。
我想不出来有人能帮我吗?
2021-01-24 19:21:53.708 4661-4661/com.koteswara.mediarecordersample E/libc: Access denied finding property "ro.vendor.df.effect.conflict"
2021-01-24 19:21:53.716 4661-4703/com.koteswara.mediarecordersample E/Perf: Fail to get file list com.koteswara.mediarecordersample
2021-01-24 19:21:53.716 4661-4703/com.koteswara.mediarecordersample E/Perf: getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
2021-01-24 19:21:53.716 4661-4703/com.koteswara.mediarecordersample E/Perf: Fail to get file list com.koteswara.mediarecordersample
2021-01-24 19:21:53.716 4661-4703/com.koteswara.mediarecordersample E/Perf: getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array
推荐答案
我发布了我的答案,这可能也会对其他人有所帮助。我通过将文件目录路径更改为
来解决此问题getExternalFilesDir("/").getAbsolutePath(), "filenme.wav"
而不是:
Environment.getExternalStorageDirectory(), "filename.wav"
这篇关于访问被拒绝查找属性&qot;ro.vendor.df.ffect。冲突&的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!