question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android can't find file:///storage/emulated

See original GitHub issue

Hi,

On android I have an error when trying to upload a file created with react-native-camera: Upload error! Error: Could not find file at path: file://storage/emulated/0/Movies/VID_20170202_094146.mp4 the path

Any idea ?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

6reactions
ox-michaelradionovcommented, Feb 9, 2017

This error also appeared for me and I also use react-native-camera, but I was able to get rid of it by truncating file:// protocol from the beginning of the file path.

For example if you have:

file:///storage/emulated/0/Movies/VID_20170202_094146.mp4

it should become

/storage/emulated/0/Movies/VID_20170202_094146.mp4
2reactions
akotlovcommented, Mar 2, 2017

@StevePotter I think so.I looked at “Android upload service” library source and seems like that what the library author decided to do. screenshot_20170301-145509

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is Android storage/emulated/0? (The Complete Guide)
Download and install X-Plore File Manager from the Google Play Store. · Launch the application. · Go to the homepage. · Select "Internal...
Read more >
What Is /storage/emulated/0/? How To Access It? | Yoodley
The easiest way to access /storage/emulated/0/ on an Android device is to download a third-party File Explorer such as ES File Explorer. However ......
Read more >
How Do I Access Emulated Storage On Android? - Definir Tech
Download ES FILE EXPLORER from Play Store. · Find "Favourites" in top left corner section. · Add your own favourite folder by tapping...
Read more >
How can I access /storage/emulated/0/DCIM on android device?
Go to Settings -> Apps , make sure Show System is checked in the menu, look for Media Store or something like that,...
Read more >
How to access /storage/emulated/0 - android - Stack Overflow
In Emulator, to view this file click on Settings>Storage>Other>Android>data>com.companyname.textapp>file>Download. Here, textapp is the name ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found