I have libTestLibrary.so library and I want add it to Android-emulator's lib folder. How can I do this ?
I make following steps:
- Window / Open Perspective / Other... / DDMS
- Enter File Explorer tab.
- Find lib folder and open it.
- Press Push a file onto device and select library which I want to push to device, but then process starts and after some seconds it's terminated and error appears:
[2011-05-19 12:26:34] Failed to push selection: Read-only file system
Added. Dear Eric:
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 ?
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
Added.
I have write in command line:
C:\android\android-sdk-windows\platform-tools>adb remount
C:\android\android-sdk-windows\platform-tools>adb push libDsmShared.so /system/lib/libDsmShared.so
and error appears:
failed to copy 'libDsmShared.so' to '/system/lib/libDsmShared.so': Out of memory
Added
I have made the following steps:
- Launch Eclipse
- Go To: Window -> Open Perspective -> Other ...
- Select DDMS from the opened dialog
- Select "File explorer" tab.
- Press "Push a file onto the device" and select library which I wish to push.
Failed to push selection: Read-only file system
- Minimize all opened windows and open Command Line
- Write: cd C:\android\android-sdk-windows\platform-tools enter
Write: abd remount enter
You will see remount successful
Maximize Eclipse and try step 5.
Failed to push selection: Out of memory
Error appears.