Android的使用busybox的命令行安装APK [英] Android Install apk using busybox command-line

查看:523
本文介绍了Android的使用busybox的命令行安装APK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要APK静默安装在Android手机,我发现这个解决方案<一href="http://stackoverflow.com/questions/5803999/install-apps-silently-with-granted-install-packages-permission"标题=ABX>(链接),是如何使用BusyBox的命令行安装apk文件,但是当我用胶带busybox的安装路径/到/ apkfile,这是行不通的,有人可以帮助我,使一些例子,请

I want to install apk silently in android phone, I have found this solution (Link), is how to install apk using busybox command line, but when i tape busybox install path/to/apkfile, it does not work, can someone help me by giving some examples please.

推荐答案

在命令行程序,这是否是:包管理器。因此,尝试时安装apkfile 如果不带参数运行该命令会打印出一些帮助文本。我不知道怎么沉默这将是 - 。但你不应该从终端用户反正隐藏的安装

The command line program that does this is pm: package manager. So try pm install apkfile If you run the command with no arguments it will print out some help text. I don't know how silent it will be - but then you should not be hiding installs from the end user anyway.

这篇关于Android的使用busybox的命令行安装APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆