1.进入到sdk\android-sdk-windows\tools>目录下:

  1>启动模拟器游戏:4.4 模拟器名称 已经存在的模拟器

    输入: emulator -avd 4.4 -partition-size 300 -no-audio -no-boot-anim

  2>模拟器启动完成

    输入:adb shell

    输入:mount

    rootfs / rootfs ro,relatime 0 0

tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0

devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,seclabel,relatime 0 0

selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0

debugfs /sys/kernel/debug debugfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0

tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0

tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/mtdblock0 /system ext4 ro,seclabel,relatime,data=ordered 0 0

/dev/block/mtdblock1 /data ext4 rw,seclabel,nosuid,nodev,noatime,nomblk_io_submi

t,data=ordered 0 0

/dev/block/vold/179:0 /mnt/media_rw/sdcard vfat rw,dirsync,nosuid,nodev,noexec,r

elatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,

iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/fuse /storage/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=10

23,default_permissions,allow_other 0 0

    3>找到红色部分

     输入:mount -o remount,rw -t ext4 /dev/block/mtdblock0 /system

     输入:mount

rootfs / rootfs ro,relatime 0 0

tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0

devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0

proc /proc proc rw,relatime 0 0

sysfs /sys sysfs rw,seclabel,relatime 0 0

selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0

debugfs /sys/kernel/debug debugfs rw,relatime 0 0

none /acct cgroup rw,relatime,cpuacct 0 0

none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0

tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0

tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0

none /dev/cpuctl cgroup rw,relatime,cpu 0 0

/dev/block/mtdblock0 /system ext4 rw,seclabel,relatime,data=ordered 0 0

/dev/block/mtdblock1 /data ext4 rw,seclabel,nosuid,nodev,noatime,nomblk_io_submi

t,data=ordered 0 0

/dev/block/vold/179:0 /mnt/media_rw/sdcard vfat rw,dirsync,nosuid,nodev,noexec,r

elatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,

iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/dev/fuse /storage/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=10

23,default_permissions,allow_other 0 0

      4>查看上面红色字体属性由ro->rw

      输入:chmod 777 /system/app

      5>最后安装 GoogleLoginService.apk、GoogleServicesFramework.apk、Vending.apk(这些apk可以问百度下载) 输入:adb push d:/GoogleLoginService.apk /system/app/.

       如果遇到error: device offline这样的问题;

       新启动一个cmd:


           输入:adb kill-server

                 adb start-server

       在重新输入:adb push D:/GoogleServicesFramework.apk /system/app/.

                   adb push D:/GoogleLoginService.apk /system/app/.

                   adb push D:/Vending.apk /system/app/.

     6>安装完成

 

No Space left on device

adb push file /system/.. 

and meet problems like “failed to copy file to /system/„”, such as: failed to copy ‘file’ to ‘/system/„’: No space left on device failed to copy ‘file’ to ‘/system/„’: Out of memory 

The resolve method is not using the Eclipse or AVD Manager to start the Android emulator, but by use the command first: 

$emulator -avd youravdname -partition-size 128 

Then you can try the command “adb push file /system/„”, and the problem maybe resolved.