title: How can I add library to Android-Emulator's lib folder
body: <p>I have <strong>libTestLibrary.so</strong> library and I want add it to Android-emulator's <strong>lib</strong> folder. How can I do this ?</p>
  
  <p>I make following steps: </p>
  
  <ol>
  <li><strong>Window</strong> / <strong>Open Perspective</strong> / <strong>Other...</strong> / <strong>DDMS</strong></li>
  <li>Enter <strong>File Explorer</strong> tab.</li>
  <li>Find <strong>lib</strong> folder and open it.</li>
  <li>Press <strong>Push a file onto device</strong> and select library which I want to push to device, but then process starts and after some seconds it's terminated and error appears:</li>
  </ol>
  
  <blockquote>
  <pre><code>[2011-05-19 12:26:34] Failed to push selection: Read-only file system
  </code></pre>
  </blockquote>
  
  <hr>
  
  <h3>Added. Dear Eric:</h3>
  
  <p>I see the post that you linked but I can't understand it, can you give example of following code for my problem or explain this  ?</p>
  
  <pre><code>adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
  adb push su /system/xbin/su
  adb shell chmod 06755 /system
  adb shell chmod 06755 /system/xbin/su
  adb install superuser.apk
  </code></pre>
  
  <h3>Added.</h3>
  
  <p>I have write in command line:</p>
  
  <pre><code>C:\android\android-sdk-windows\platform-tools&gt;adb remount 
  C:\android\android-sdk-windows\platform-tools&gt;adb push libDsmShared.so /system/lib/libDsmShared.so
  </code></pre>
  
  <p>and error appears:</p>
  
  <blockquote>
    <p>failed to copy 'libDsmShared.so' to
    '/system/lib/libDsmShared.so': Out of
    memory</p>
  </blockquote>
  
  <h3>Added</h3>
  
  <p>I have made the following steps:</p>
  
  <ol>
  <li><strong>Launch Eclipse</strong></li>
  <li>Go To: <strong>Window -> Open Perspective -> Other ...</strong></li>
  <li>Select <strong>DDMS</strong> from the opened dialog</li>
  <li>Select "<strong>File explorer</strong>" tab.</li>
  <li>Press "<strong>Push a file onto the device</strong>" and select library which I wish to push.
  
  <blockquote>
    <p>Failed to push selection: Read-only file system</p>
  </blockquote></li>
  <li>Minimize all opened windows and <strong>open Command Line</strong></li>
  <li>Write: <strong>cd C:\android\android-sdk-windows\platform-tools</strong> enter</li>
  <li><p>Write: <strong>abd remount</strong> enter</p>
  
  <blockquote>
    <p>You will see remount successful</p>
  </blockquote></li>
  <li><p>Maximize Eclipse and try step 5.</p>
  
  <blockquote>
    <p>Failed to push selection: Out of memory</p>
  </blockquote></li>
  </ol>
  
  <p>Error appears.</p>