question

SurendharKabilan-3205 avatar image
0 Votes"
SurendharKabilan-3205 asked JessieZhang-2116 commented

FileNotFoundException occurred while upload the photo/video using xamarin forms android

We are using xamarin essentials for camera permission. To capture photo/video we are using crossmedia nuget. After capture saved in local path then going to upload the photo/video. While upload the photo/video, I am getting below error in app center

 System.IO.FileNotFoundException: Could not find file "/storage/emulated/0/Android/data/myproj/files/Movies/myproj/VIDEO_20200729_114115.mp4"

How to resolve this error?

dotnet-xamarinformsdotnet-android
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

You should check the permission first using CrossMedia.

0 Votes 0 ·

Already read/write permission is there.

0 Votes 0 ·
JessieZhang-2116 avatar image JessieZhang-2116 SurendharKabilan-3205 ·

Could you please post a basic demo to github or one driver so that we can test on our side?

0 Votes 0 ·

0 Answers