Eclipse console shows:'Failed to push selection: Read-only file system'when i try to push a file

前端 未结 7 2037
南方客
南方客 2020-12-15 04:01

I am trying to push a file to the SD Card but its showing error in console \'failed to push selection: Read-only file system\'.I am using DDMS perspective in Eclipse.I gener

相关标签:
7条回答
  • 2020-12-15 05:00

    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.

    0 讨论(0)
提交回复
热议问题