android adb 安装位置,用adb命令修改手机默认安装位置到SD卡

您所在的位置:网站首页 如何将默认下载路径改为sd卡 android adb 安装位置,用adb命令修改手机默认安装位置到SD卡

android adb 安装位置,用adb命令修改手机默认安装位置到SD卡

2024-06-20 13:35| 来源: 网络整理| 查看: 265

1.打开DOS命令行 ,输入adb,回车,可查看命令帮助。

2.adb devices 回车,显示设备列表:

每个设备实例的输出都有如下固定的格式:

[serialNumber] [state]

022BTF7N43047029        device

037c708040609357        device

adb -s 022BTF7N43047029 shell 回车,进入要操作的设备(当只有一个设备时,可直接输入 adb shell进入)

(adb shell   命令意思: run remote shell interactively

adb shell      - run remote shell command)

3.输入pm回车,可查到信息:

pm set-install-location: changes the default install location.

NOTE: this is only intended for debugging; using this can cause

applications to break and other undersireable behavior.

0 [auto]: Let system decide the best location

1 [internal]: Install on internal device storage

2 [external]: Install on external media

4.输入命令:pm set-install-location 2,修改设备默认安装到SD卡。over.

原文:http://blog.csdn.net/zi413293813/article/details/43966181



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3