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

Glide does not show images on Android Q #45

Closed
bemrePG opened this issue Jan 15, 2020 · 1 comment
Closed

Glide does not show images on Android Q #45

bemrePG opened this issue Jan 15, 2020 · 1 comment

Comments

@bemrePG
Copy link

bemrePG commented Jan 15, 2020

Hi,

so far everything worked perfect for me with your library.
I only struggle with Android Q.
It does not show the images on api 29.

Your sample project does show the images but when i am using your library it doesn't show on api 29. It works only below api29.

Here is the Logcat:
I/Glide: Root cause (3 of 3)
java.io.FileNotFoundException: open failed: EACCES (Permission denied)
at android.os.ParcelFileDescriptor.openInternal(ParcelFileDescriptor.java:315)
at android.os.ParcelFileDescriptor.open(ParcelFileDescriptor.java:220)
at com.bumptech.glide.load.model.FileLoader$FileDescriptorFactory$1.open(FileLoader.java:164)
at com.bumptech.glide.load.model.FileLoader$FileDescriptorFactory$1.open(FileLoader.java:161)
at com.bumptech.glide.load.model.FileLoader$FileFetcher.loadData(FileLoader.java:68)
at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:62)
at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:309)
at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherFailed(DecodeJob.java:405)
at com.bumptech.glide.load.engine.SourceGenerator.onLoadFailed(SourceGenerator.java:119)
at com.bumptech.glide.load.model.FileLoader$FileFetcher.loadData(FileLoader.java:73)
at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:62)
at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:309)
at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherFailed(DecodeJob.java:405)
at com.bumptech.glide.load.engine.SourceGenerator.onLoadFailed(SourceGenerator.java:119)
at com.bumptech.glide.load.model.ByteBufferFileLoader$ByteBufferFetcher.loadData(ByteBufferFileLoader.java:70)
at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:62)
at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:309)
at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:279)
at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:235)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:446)

Of course i gave permission to the app and checked that again in my settings.

Do you have any idea why?

Thank you.

@siralam
Copy link
Owner

siralam commented Jan 16, 2020

Duplicate of #33

@siralam siralam marked this as a duplicate of #33 Jan 16, 2020
@siralam siralam closed this as completed Jan 16, 2020
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

2 participants