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

Crash when selecting camera #336

Open
Semedaki opened this issue Nov 2, 2023 · 4 comments
Open

Crash when selecting camera #336

Semedaki opened this issue Nov 2, 2023 · 4 comments

Comments

@Semedaki
Copy link

Semedaki commented Nov 2, 2023

Hello,
I have this problem, happening only in OnePlus8Pro devices, with android 11. The version of ImagePicker I use is 2.1.
When the user selects the camera option, the following crash happens:

Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.project.name/com.github.dhaval2404.imagepicker.ImagePickerActivity}: java.lang.IllegalArgumentException: Failed to find configured root that contains /data/local/tmp/external/IMG_20231101_041618651.jpg
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3433)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3607)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2068)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7680)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:423)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

@arvindkkore
Copy link

I have the same issue

@lolucosmin
Copy link

Same issue here:
Unable to start activity ComponentInfo{appyness.mhsc/com.github.dhaval2404.imagepicker.ImagePickerActivity}: java.lang.IllegalArgumentException: Failed to find configured root that contains /data/local/tmp/external/IMG_20240116_083529892.jpg

@mushtaq99
Copy link

same issue

@ZoobiApps
Copy link

ZoobiApps commented Mar 26, 2024

same issue came in my OnePlus8Pro device android 11.

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

5 participants