Skip to content
New issue

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

FileUtils.isFileExists 在 Galaxy Note4 6.0.1 不生效 #1807

Open
zhangnin opened this issue May 22, 2024 · 0 comments
Open

FileUtils.isFileExists 在 Galaxy Note4 6.0.1 不生效 #1807

zhangnin opened this issue May 22, 2024 · 0 comments
Assignees
Labels

Comments

@zhangnin
Copy link

描述 Bug

FileUtils.isFileExists(File("$path$fileName")) 判断不生效

  • AndroidUtilCode 的版本:com.blankj:utilcodex:1.31.1
  • 出现 Bug 的设备型号:Galaxy Note4
  • 设备的 Android 版本:6.0.1

相关代码

if (FileUtils.isFileExists(File("$path$fileName"))) {
L.warn(TAG, "文件已存在 fileName=$fileName")
return
}
该文件存在,if没有被return

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants