gpt4 book ai didi

android - 访问被拒绝查找属性 "ro.vendor.df.effect.conflict"

转载 作者:行者123 更新时间:2023-12-04 23:48:48 27 4
gpt4 key购买 nike

嗨,我正在录制音频,这给我一个错误。
我无法弄清楚有人可以帮助我。

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"

关于android - 访问被拒绝查找属性 "ro.vendor.df.effect.conflict",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65871472/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com