Cannot download files on Android 11 #291
Labels
No Label
dependencies
info:feedback-needed
info:help-needed
prio:high
prio:low
prio:normal
status:confirmed
status:deferred
status:fix-committed
status:incomplete
status:in-progress
status:rejected
type:bug
type:discussion
type:feature
type:improvement
type:invalid
type:support
type:task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Marown/SWADroid#291
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
Files cannot be downloaded on Android 11.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The file is downloaded.
Screenshots
N/A
Smartphone (please complete the following information):
Additional context
2020-09-29 17:05:04.599 23986-24095/es.ugr.swad.swadroid E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1 Process: es.ugr.swad.swadroid, PID: 23986 java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$4.done(AsyncTask.java:415) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383) at java.util.concurrent.FutureTask.setException(FutureTask.java:252) at java.util.concurrent.FutureTask.run(FutureTask.java:271) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305) 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:923) Caused by: java.lang.IllegalStateException: Not one of standard directories: SWADroid at android.os.Parcel.createExceptionOrNull(Parcel.java:2381) at android.os.Parcel.createException(Parcel.java:2357) at android.os.Parcel.readException(Parcel.java:2340) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142) at android.content.ContentProviderProxy.call(ContentProviderNative.java:732) at android.content.ContentProviderClient.call(ContentProviderClient.java:603) at android.content.ContentProviderClient.call(ContentProviderClient.java:591) at android.app.DownloadManager$Request.setDestinationInExternalPublicDir(DownloadManager.java:576) at es.ugr.swad.swadroid.modules.downloads.DownloadFactory.downloadFile(DownloadFactory.java:85) at es.ugr.swad.swadroid.modules.downloads.FileDownloaderAsyncTask.doInBackground(FileDownloaderAsyncTask.java:70) at es.ugr.swad.swadroid.modules.downloads.FileDownloaderAsyncTask.doInBackground(FileDownloaderAsyncTask.java:42) at android.os.AsyncTask$3.call(AsyncTask.java:394) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305) 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:923)