thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
failed to copy 'out/target/product/generic/system/lib/libmax.so' to '/system/lib/libmax.so': Out of memory
thtf@thtfcenter:/work/androidsrc$ emulator -partition-size 1024 -kernel kernel/goldfish/arch/arm/boot/zImage &
[2] 24085
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
error: more than one device and emulator
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
error: more than one device and emulator
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
error: more than one device and emulator
thtf@thtfcenter:/work/androidsrc$
[1]- 完成 emulator -kernel kernel/goldfish/arch/arm/boot/zImage
[2]+ 完成 emulator -partition-size 1024 -kernel kernel/goldfish/arch/arm/boot/zImage
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
error: device not found
thtf@thtfcenter:/work/androidsrc$ emulator -partition-size 1024 -kernel kernel/goldfish/arch/arm/boot/zImage &
[1] 24132
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
error: device offline
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
error: device offline
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
failed to copy 'out/target/product/generic/system/lib/libmax.so' to '/system/lib/libmax.so': Read-only file system
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
failed to copy 'out/target/product/generic/system/lib/libmax.so' to '/system/lib/libmax.so': Read-only file system
thtf@thtfcenter:/work/androidsrc$ adb remount
remount succeeded
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
102 KB/s (5376 bytes in 0.051s)
thtf@thtfcenter:/work/androidsrc$ adb shell
# cd data
# ./testhw
5与3相比,5大。/n#
failed to copy 'out/target/product/generic/system/lib/libmax.so' to '/system/lib/libmax.so': Out of memory
thtf@thtfcenter:/work/androidsrc$ emulator -partition-size 1024 -kernel kernel/goldfish/arch/arm/boot/zImage &
[2] 24085
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
error: more than one device and emulator
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
error: more than one device and emulator
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
error: more than one device and emulator
thtf@thtfcenter:/work/androidsrc$
[1]- 完成 emulator -kernel kernel/goldfish/arch/arm/boot/zImage
[2]+ 完成 emulator -partition-size 1024 -kernel kernel/goldfish/arch/arm/boot/zImage
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
error: device not found
thtf@thtfcenter:/work/androidsrc$ emulator -partition-size 1024 -kernel kernel/goldfish/arch/arm/boot/zImage &
[1] 24132
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
error: device offline
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
error: device offline
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
failed to copy 'out/target/product/generic/system/lib/libmax.so' to '/system/lib/libmax.so': Read-only file system
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
failed to copy 'out/target/product/generic/system/lib/libmax.so' to '/system/lib/libmax.so': Read-only file system
thtf@thtfcenter:/work/androidsrc$ adb remount
remount succeeded
thtf@thtfcenter:/work/androidsrc$ adb push out/target/product/generic/system/lib/libmax.so /system/lib
102 KB/s (5376 bytes in 0.051s)
thtf@thtfcenter:/work/androidsrc$ adb shell
# cd data
# ./testhw
5与3相比,5大。/n#