卸载和安装 Google Play Store

访客 182 0

前提:系统已经root

1、卸载 Google Play Store

D:\andriod\platform-tools>adb shell

shell@eeepc:/ $ su
输入su命令

在eeepc设备上,使用shell命令切换到/system/app目录。

cd /system/app

在eeepc的/system/app目录下,使用shell命令删除com.android.vending-1.apk文件。

删除com.android.vending-1.apk

shell@eeepc:/system/app # 重新启动

重新启动

很抱歉,您提供的文本为空白,无法进行修改。如果您有其他需要编辑的内容,请随时告诉我。

再次连接

在D:\andriod\platform-tools目录下,输入命令“adb connect 192.168.10.128”,成功连接到IP地址为192.168.10.128的设备,端口号为5555。

D:\andriod\platform-tools>adb uninstall com.android.vending

Success

很抱歉,您提供的文本为空白,无法进行修改。如果您有其他需要编辑的内容,请随时告诉我。

2、安装Google Play商店

很抱歉,您提供的文本为空白,无法进行修改。如果您有其他需要编辑的内容,请随时告诉我。

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/

复制com.android.vending-1.apk到/system/app/目录下。 在shell@eeepc:/data/app #下,输入cd /system/app。 再次输入cd /system/app。

在eeepc的/system/app目录下,使用shell命令chmod 777 com.android.vending-1.apk,将com.android.vending-1.apk文件的权限设置为777。

shell@eeepc:/system/app # 重新启动

reboot


标签: 前提 系统

发表评论 (已有0条评论)

还木有评论哦,快来抢沙发吧~