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

Hard crash on SD card file selection for playing #42

Open
jibon57 opened this issue Sep 12, 2018 · 0 comments
Open

Hard crash on SD card file selection for playing #42

jibon57 opened this issue Sep 12, 2018 · 0 comments

Comments

@jibon57
Copy link

jibon57 commented Sep 12, 2018

If you select video or audio file from SD card to play that time you will get hard crash like this:

An uncaught Exception occurred on "main" thread.
java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/6362-**/***.mp4
 at android.support.v4.content.FileProvider$SimplePathStrategy.getUriForFile(FileProvider.java:719)
 at android.support.v4.content.FileProvider.getUriForFile(FileProvider.java:404)
 at com.vincent.filepicker.adapter.VideoPickAdapter$3.onClick(VideoPickAdapter.java:174)
 at android.view.View.performClick(View.java:6897)
 at android.view.View$PerformClick.run(View.java:26101)
 at android.os.Handler.handleCallback(Handler.java:789)
 at android.os.Handler.dispatchMessage(Handler.java:98)
 at android.os.Looper.loop(Looper.java:164)
 at android.app.ActivityThread.main(ActivityThread.java:6944)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)

Fixed here: #41

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

No branches or pull requests

1 participant