android studio device file explorer 無法向/storage/emulated/0/上傳文件


解決方案:

/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文件夾中上傳文件即可。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM