elvishew/xLog

Android 10 FilePrinter 写入失败

TangHaifeng-John opened this issue · 1 comments

原因是Android 10 加入存储卡 除了需要加权限外,还需要在 application 标签下声明 android:requestLegacyExternalStorage="true"

详情请看这篇文章:
https://www.cnblogs.com/fishman2/p/12832655.html

@TangHaifeng-John Thank you.

Developers should ask the storage permission by themselves before writing log to external storage.