My devices is HuaWei NEM-TL100H , run Android 6.0。When I get the sdcard path using the flowing code :
File sdcard = Environment.getExternalStorageDirectory();
but it return
/storage/E635-0F94/
I am sure the read and write external storage permission had request and the target sdk version is 22 in my project.
Does anyone meet the same issue?
What I expected it will return the path like /storage/emulated/legacy/ or /storage/emulated/0/ but not /storage/E635-0F94/
In fact , after I adb shell into device , and ls /storage folder , there are 4 sub folders listed : E635-0F94 , emulated,sdcard0,sdcard1 . Does the E635-0F94 is another link to sdcard0 or sdcard1 ?