Hong
Hong

Reputation: 18501

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?

Upvotes: 4

Views: 7766

Answers (2)

csname1910
csname1910

Reputation: 1235

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

Upvotes: 1

CommonsWare
CommonsWare

Reputation: 1006554

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/.

Upvotes: 26

Related Questions