前提:系统已经root
1、google play store 的卸载
D:\andriod\platform-tools>adb shell
shell@eeepc:/ $ su
su
shell@eeepc:/ # cd /system/app
cd /system/app
shell@eeepc:/system/app #rm com.android.vending-1.apk
rm com.android.vending-1.apk
shell@eeepc:/system/app # reboot
reboot
再次连接
D:\andriod\platform-tools>adb connect 192.168.10.128
connected to 192.168.10.128:5555
D:\andriod\platform-tools>adb uninstall com.android.vending
Success
2、google play store 的安装
D:\andriod\platform-tools>adb install vending.apk
4171 KB/s (7304310 bytes in 1.710s)
pkg: /data/local/tmp/vending.apk
Success
D:\andriod\platform-tools>adb shell
shell@eeepc:/ $ su
su
shell@eeepc:/ # cd /data/app/
cd /data/app/
shell@eeepc:/data/app # cp com.android.vending-1.apk /system/app/
cp com.android.vending-1.apk /system/app/
shell@eeepc:/data/app # cd /system/app
cd /system/app
shell@eeepc:/system/app # chmod 777 com.android.vending-1.apk
chmod 777 com.android.vending-1.apk
shell@eeepc:/system/app # reboot
reboot