如何使用`adb`仅为一个用户安装开发应用程序? [英] How to use `adb` to install development apps for one user only?

查看:306
本文介绍了如何使用`adb`仅为一个用户安装开发应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

平板电脑上的Android 4.2增加了对每台设备多个用户的支持(类似于桌面操作系统),每个用户都可以独立安装和删除应用。目前,使用 adb install /path/to/app.apk 全局安装应用程序;每个用户都可以看到并启动它(就像每个用户从Play商店安装相同的应用程序一样)。

Android 4.2 on tablets added support for multiple users per device (similar to desktop OSes), each of which can install and remove apps independently. Currently, using adb install /path/to/app.apk installs the app globally; every user can see and launch it (as if every user installed the same app from the Play store for example).

有没有办法 adb install 将应用程序添加到设备上,以便只有一个用户可以在启动器菜单中看到它?

Is there a way to adb install an app onto a device so that only one user can see it in the launcher menu?

推荐答案

以下是adb工具的完整文档: http://developer.android.com /tools/help/adb.html
adb install不提供任何指定目标用户的方法。

Here is the full documentation of the adb tool: http://developer.android.com/tools/help/adb.html adb install doesn't provide any way to specify the target users.

这篇关于如何使用`adb`仅为一个用户安装开发应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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