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

前端 未结 7 2036
南方客
南方客 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 04:38

    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
    
    0 讨论(0)
  • 2020-12-15 04:41

    I was also facing same issue :

    Failed to push selection: Read-only file system

    In computers with higher configuration(beyond Windows XP) settings like ---> C:\Documents and Settings\.android\avd
    doesn't exist so instead go to this path --> C:\Users\.android and right click on this folder and uncheck the box having name as read only.

    Hope this helps those with newer windows on their pc :) , if this solution helps you than please vote for it.

    0 讨论(0)
  • 2020-12-15 04:43

    if some one have same problem in new build of studio . 0.8.9 and above see my solution here and it will work like a charm : (afra mehrparvar solution in the bottom of the page )

    Android Emulator sdcard push error: Read-only file system

    0 讨论(0)
  • 2020-12-15 04:50

    Just go to

    C:\Documents and Settings\<adminstrator>\.android\avd

    take 'properties' of your avd folder (there is a folder for each of the avd's)

    uncheck 'Read only' -> OK

    This was the only thing that worked for me.

    P.S: Some of these folders might be hidden.

    0 讨论(0)
  • 2020-12-15 04:53

    In my case i have mistake with the slash. while specifying "Additional Emulator Command Line Options" in eclipse

    Actually it should be -sdcard C:/Kamal/sdcard/emulator_sdcard

    and i was putting -sdcard C:\Kamal\sdcard\emulator_sdcard

    Then after restarting the Eclipse & Emulator it works.

    0 讨论(0)
  • 2020-12-15 04:57

    If the data in the sd card is not updated in the emulator or in the app which you are developing then, Select, Dev Tools->Media Scanner The data which has been already pushed into the sd card by variant means will get loaded soon.!

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