This commit is contained in:
parent
951f6697e8
commit
6fa7c334ea
|
@ -249,7 +249,7 @@ public class ChangeDeviceInfoUtil {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 构造安装命令
|
// 构造安装命令
|
||||||
String command = "pm install " + apkFilePath;
|
String command = "pm install-multiple " + apkFilePath;
|
||||||
|
|
||||||
// 执行命令并获取结果
|
// 执行命令并获取结果
|
||||||
String result = ShellUtils.execRootCmdAndGetResult(command);
|
String result = ShellUtils.execRootCmdAndGetResult(command);
|
||||||
|
|
Loading…
Reference in New Issue