Unable to share file


I am unable to share file, It says file not found!

Check file path

That means the file path is wrong, try using the file component to see whether the path is correct or not

The error says clearly that the path you input is wrong.What about trying the complete file path?

It’s present

Not wrong! I checked it it’s present

Like?

Something like that:
/storage/emulated/0/File2String/Thenameofyourfile.txt
May be this also:
/mnt/sdcard/File2String/Thenameofyourfile.txt

1 Like

It looks like you tested this with companion. Try with compiled apk

1 Like

Also path with the companion is different than the apk.

I dont think soo… Here is the error message
IMG_20200823_213554

Don’t think soo.

It’s the one already excited :joy:

It says the file could not be found. Try yourself whether it’s there :stuck_out_tongue_winking_eye:

1 Like

Try this :

or this:

I really think that file:///File2String/filename.txt doesn’t exist.It requires the complete path.As i think.

2 Likes

YES YES SEE
it doesn’t exist. But like that I cant say.

I didn’t understand you.
Did you try this:

I mean it exists and like that i cant tell you it’s not there.

But need to try…

Yes you need to try?

It doesn’t exist you need to try the complete path did you try it?

1 Like

WOO WORKS BUT A BIT SECS SLOW! Thanks again

1 Like

By taifun:

for the sharing component, use the full path to the file on sdcard, for example file:///mnt/sdcard/DiabeticTracker1.txt

Here:
https://groups.google.com/g/mitappinventortest/c/jQk3KsUYOLw
You need to try file:///mnt/sdcard/File2String/name.txt

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.