[adb 调试]adb install强制安装在SD卡

来源:互联网 发布:淘宝店铺红包怎么用啊 编辑:程序博客网 时间:2024/06/05 09:54
进入adb shell

$adb shell 
$pm set-Install-Location 0 
pmset-Install-Location 0 由App自行决定软件能否安装在SD卡 
pmset-Install-Location 1 强制全部App安装在ROM内 
pmset-Install-Location 2 强制全部App安装在SD卡 

同时可以用pm set-Install-Location获取当前安装地址的信息,返回0,1,2描述同上
0 0
原创粉丝点击