解决方案:

/sdcard is a symlink to /storage/emulated/0.

 

'/storage/emulated/0/' like a abstract path, you can upload file on sdcard/,and visit it use '/storage/emulated/0/' in android code.For example,if you want to visit a test.txt in '/storage/emulated/0/myFiles/test/test.txt'(code path), you should upload the test.txt in 'sdcard/test/test.txt'(in Device File Explorer,AS).

 

因此只需要向/sdcard文件夹中上传文件即可。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
  • 2022-12-23
  • 2021-04-27
  • 2021-09-24
猜你喜欢
  • 2021-06-27
  • 2021-07-15
  • 2022-12-23
  • 2021-05-16
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案