Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse DDMS does not show contents of sdcard

File Explorer of Eclipse shows an sdcard folder for both an Android emulator and an Android device. However, it does not show any contents of the folder.

Does this sdcard folder corresponds to an SD Card? If so, how can the files on SD Cards be viewed with DDMS?

like image 521
Hong Avatar asked Nov 27 '22 17:11

Hong


2 Answers

I am going to guess that by "an sdcard folder" you mean /sdcard. That has not been the location of external storage in quite some time.

Depending on the version of your Android emulator/device, you can look in /mnt/sdcard/, /storage/sdcard0/, or /mnt/shell/emulated/0/.

like image 137
CommonsWare Avatar answered Dec 15 '22 17:12

CommonsWare


I had the same problem:

Using Eclipse DDMS File Explorer the content of sdcard was not visible in any folder (CyanogenMod with Android 4.2.2).

The solution was: On the device you have to give ADB root access. Here: Settings / Developer options / Root access

Then the content of sdcard is visible in this folder: /mnt/shell/emulated/0

like image 45
csname1910 Avatar answered Dec 15 '22 15:12

csname1910