You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since I updated my dependencies, uploading video gives a file not found on my app.
doWork: File not found !
java.io.FileNotFoundException: /__cdvfile_files-external__/files/videos/bc6e7359-db44-4629-9e91-dd8719ef7e05-1694270541591.mp4: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:574)
at java.io.FileInputStream.<init>(FileInputStream.java:160)
at com.spoon.backgroundfileupload.UploadTask.createRequest(UploadTask.java:345)
at com.spoon.backgroundfileupload.UploadTask.doWork(UploadTask.java:178)
at androidx.work.Worker$1.run(Worker.java:82)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Linux.open(Native Method)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8063)
at libcore.io.IoBridge.open(IoBridge.java:560)
at java.io.FileInputStream.<init>(FileInputStream.java:160)
at com.spoon.backgroundfileupload.UploadTask.createRequest(UploadTask.java:345)
at com.spoon.backgroundfileupload.UploadTask.doWork(UploadTask.java:178)
at androidx.work.Worker$1.run(Worker.java:82)
@rudyZanotti /__cdvfile_files-external__/files/videos/bc6e7359-db44-4629-9e91-dd8719ef7e05-1694270541591.mp4
is not a valid file path. You just want to be using the part after __cdvfile_files-external__
Something like /files/videos/bc6e7359-db44-4629-9e91-dd8719ef7e05-1694270541591.mp4
And I guess the Directory you want to use here would be Data directory.
Hello,
Since I updated my dependencies, uploading video gives a file not found on my app.
My package.json
My AndroidManifest.xml
And my capacitor config
Hoping you can help me
The text was updated successfully, but these errors were encountered: