-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
setImageUri java.io.FileNotFoundException: open failed: ENOENT (No such file or directory) #577
Comments
你好,你这个问题解决了吗? |
已经换用,android-image-cropper库了,谢了啊兄弟 |
I was facing the same problem. Now i have found the solution. Check out here: |
duplicate to #598 |
I thinks there is nothing todo with Android Q. Use For details see |
no it is not |
Thanks for the link. It's really helpful. |
Please take a look at this answer from StackOverflow, there's a class that converts content provider URI's to a real File path that will not give you FileNotFound exception. |
same happens on latest version, as reported in #426 . I am testing on xiaomi6 with api26. The uCrop is the latest version 'com.github.yalantis:ucrop:2.2.4'.
And here is how i create destinationUri:related manifest lines:
Error after camera intent:
java.io.FileNotFoundException: /external_file_image/CroppedProfileImage.jpg (No such file or directory)
image pick works.
I use: getUriForFile(this, this.applicationContext.packageName + ".apkgfileprovider", image) doenn't work, and the error log is same.
The text was updated successfully, but these errors were encountered: