开发者

mounting read and write permission to /system/app folder using adb shell commands

I want to push a .apk file to /system/app folder. For accomplishing this i tried these commands using adb shell commands D:\mobile\android-sdk-windows\tools\adb -s emulator-5554 shell mount mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system chmod 777 /system/app

Using these commands first i tried to mount r/w permisssion for /system/app folder and then i tried to push my apk file using `adb push Hello.apk /system/app command to /system/app

folder but could not able to do. I am getting error like thisfailed to copy 'Hello.apk' to'/system/app/Hello.apk':out of memory" even though apk file size is 13kb. Is anyone have idea wy i am getting such kind of error? Advance thanks for any help.开发者_开发知识库


you need to increase virtual memory of emulator

to increase virtual memory of emulator

D:\mobile\android-sdk-windows\tools\adb emulator -avd "Emulator Name" -partition-size 500

after that do your additional task

if any doubt then see all comment of refer this question...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜