question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Getting Unable to decode stream: java.io.FileNotFoundException if crop is false

See original GitHub issue

Hi! Thanks for the library!

Checked sample app. Getting BitmapFactory: Unable to decode stream: java.io.FileNotFoundException: /document/image:197117: open failed: ENOENT (No such file or directory) if don’t add crop()

ImagePicker.with(this)
//                .crop()
//                .cropOval()
                .maxResultSize(512, 512, true)
                .createIntentFromDialog { profileLauncher.launch(it) }

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
GuilhEcommented, Sep 17, 2021

I’ve changed my GalleryProvider to include your permissions logic, but maintaining all my previous logic. It’s working now 👍🏼

1reaction
Drjackycommented, May 15, 2021

@ASKabanets You’re right. The error is in logcat but, the app works and you could easily use the uri and pass it to your Image Loader library.

I’ll fix that false-positive exception. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to decode stream: java.io.FileNotFoundException ...
Its permission issue, you need to add permission in manifest for external read storage then after you can able to use it and...
Read more >
ImageDecoder - Android Developers
To use it, first create a Source using one of the createSource overloads. For example, to decode from a Uri , call createSource(android.content....
Read more >
www.bearprinting.com/PdfDecoder.java
Java Pdf Extraction Decoding Access Library ... inbuilt java fonts and getting java to rasterize * fonts using Java font if match found...
Read more >
Unable to decode stream: java.io.FileNotFoundException
Hai, i have problem with my project. i use calling Json data but i found errror like this : E/BitmapFactory: Unable to decode...
Read more >
packages/WallpaperCropper/src/com/android/wallpapercropper ...
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ... import java.io. ... public class WallpaperCropActivity extends Activity {.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found