问题描述
试图通过Eclipse将文件推到SD卡。
当我拉起我的DDMS观,我有设备上的3个主目录:
/数据
到/ mnt
/系统
只有SD卡的文件夹位于的/ mnt / SD卡
,它有权 D --------
。
我不能把任何东西给它,出现错误:
I had deleted and remade the device many times, with many different SD Card sized. I've tried adb remount at the adb shell as well as chmod 777
on the folder.
Why is this so difficult? Please help if you can.
rootfs / rootfs ro 0 0 tmpfs /dev tmpfs rw,nosuid,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0 proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0 none /acct cgroup rw,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,cpu 0 0
/dev/block/mtdblock0 /system yaffs2 ro 0 0
/dev/block/mtdblock1 /data yaffs2 rw,nosuid,nodev 0 0
/dev/block/mtdblock2 /cache yaffs2 rw,nosuid,nodev 0 0
I had the same problem, and it seems that it's impossible to mount sdcard on emulator using API Level 10. I don't know if it's an android-sdk problem or Eclipse problem, but that's it. It's possible to mount sdcard on emulators with API 7(2.1), 8(2.2) and 15(4.0.3). By the way, mounting sdcard on API 7,8,15 is a bit buggy too. I had to launch each emulator 3 times before I managed to mount sdcard: 1st and 2nd launch - not mounted, 3rd launch - mounted!
这篇关于Android版的Eclipse +:不能把文件复制到SD卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!