title: android adb push not working
body: <p>My problem is i can write files on sd card in emulator but i find the solution to this problem in stack overflow  <a href="https://stackoverflow.com/questions/13337196/android-sd-card-on-emulator-writing-fails-with-ioexception-erofs-read-only-file">here</a> to implement that you have to add a group media_rw under android.permission.WRITE_EXTERNAL_STORAGE in platform.xml so for i successfully pulled the xml file but after editing the file i can't push that file so when i am pushing it gives the below error</p>
  
  <pre><code>[Java is awesome]:~$ adb push platform.xml /system/etc/permissions/ 
  failed to copy 'platform.xml' to '/system/etc/permissions//platform.xml': Read-only file system
  </code></pre>
  
  <p>to overcome this i remount the adb and again i tried i gives the below error</p>
  
  <pre><code>[Java is awesome]:~$ adb remount
  remount succeeded
  [Java is awesome]:~$ adb push platform.xml /system/etc/permissions/
  failed to copy 'platform.xml' to '/system/etc/permissions//platform.xml': Out of memory
  </code></pre>
  
  <p>so how can push the file or is there any alternative that can enable editing of file with in the adb shell
  Thanks in advance</p>