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

Invalid path: /storage/Private in MemoryUtil.java #110

Open
omarsahl opened this issue Aug 18, 2019 · 1 comment
Open

Invalid path: /storage/Private in MemoryUtil.java #110

omarsahl opened this issue Aug 18, 2019 · 1 comment
Labels
R&D research and development required

Comments

@omarsahl
Copy link

Crashlytics reports this crash occasionally for some users.

MemoryUtil.java

Fatal Exception: java.lang.IllegalArgumentException: Invalid path: /storage/Private
       at android.os.StatFs.doStat + 46(StatFs.java:46)
       at android.os.StatFs.(StatFs.java:39)
       at com.codekidlabs.storagechooser.utils.MemoryUtil.getTotalMemorySize(MemoryUtil.java)
       at com.codekidlabs.storagechooser.fragments.ChooserDialogFragment.access$000(ChooserDialogFragment.java)
       at com.codekidlabs.storagechooser.fragments.ChooserDialogFragment.access$000(ChooserDialogFragment.java)
       at com.codekidlabs.storagechooser.fragments.ChooserDialogFragment.access$000(ChooserDialogFragment.java)
       at com.codekidlabs.storagechooser.fragments.ChooserDialogFragment.onCreateDialog(ChooserDialogFragment.java)
@codekidX
Copy link
Owner

codekidX commented Sep 7, 2019

Yeah, there are more and more directories added by vendors for their private OS-related files, I have almost eliminated all but this seems like a problem now. I'll give new Android 10 StorageVolume a try and let you know.

@codekidX codekidX added the R&D research and development required label Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R&D research and development required
Projects
None yet
Development

No branches or pull requests

2 participants