Eclipse console shows:'Failed to push selection: Read-only file system'when i try to push a file
On the Terminal
or Command-Prompt
, write these( for me its command prompt ):
adb shell
(Opens the device shell. you'll see a#
)su
(get the root permission, if necessary)mount -o rw,remount rootfs /
(remount the root file system.)chmod 777 /mnt/sdcard
(change the permission of the sdcard to rwe.)exit
If it doesn't work, try to push the file from the same shell using adb push
.Hope this help.
You need to give SDCard support to your AVD and mount the SDCard.
First go to 'AVD Manager and select your AVD then Click on Edit and in the Hardware add SDCard Support'.
Please check this link for complete detailed step to achieve SDCard support and mounting.
You can also give a try to this command in CMD, this will remount your SDCard.
c:\android-sdk\platform-tools\>adb remount