简体   繁体   English

使用 adb shell 命令从 android 中最近的应用程序中删除应用程序

[英]Removing App from Recent Apps in android using adb shell command

I want to remove an application from recent apps using shell command.我想使用 shell 命令从最近的应用程序中删除应用程序。 please help me with a working solution.请帮我找到一个可行的解决方案。

Thanks Balaji谢谢巴拉吉

You can not remove from the recent but you can kill your application using command line,您不能从最近删除,但您可以使用命令行终止您的应用程序,

kill [options] Kill all processes associated with (the app's package name). kill [options] 杀死与(应用程序的包名称)关联的所有进程。 This command kills only processes that are safe to kill and that will not impact the user experience.此命令仅杀死可以安全杀死且不会影响用户体验的进程。

Options are: --user |选项是:--user | all |所有 | current: Specify user whose processes to kill; current:指定要杀死其进程的用户; all users if not specified.如果未指定,则为所有用户。

http://developer.android.com/tools/help/shell.html for your reference. http://developer.android.com/tools/help/shell.html供您参考。

I hope this will help you.我希望这能帮到您。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Android设备中使用ADB Shell删除非系统应用 - Removing non-system app using ADB shell in Android device 无法使用 adb shell 输入 keyevent 关闭最近的应用程序 - cannot close recent apps using adb shell input keyevent ADB Shell命令从Windows 7卸载Android应用 - ADB shell command uninstall Android app from Windows 7 使用android代码运行adb shell命令 - Run adb shell command using android code ADB:如何通过 ADB 单行命令从最近的应用程序中点击/关闭以完成 - ADB: How to tap/close from recent apps to completelty through ADB one liner command 删除特定的adb shell命令以支持使用Appium - Removing a specific adb shell command in favor of using Appium 如何从adb shell命令启动AFW徽章应用程序? - How to launch AFW badge apps from adb shell command? 从最近的应用列表中删除应用时,请避免取消通知 - Avoid cancelation of Notification on removing app from recent apps list 如何获取 android package 名称并使用 adb shell 命令关闭应用程序 - How can I get the android package name and close the app using adb shell command 从 Android 中的最近应用程序列表中删除应用程序是否会导致它禁用警报管理器在 Android 应用程序中设置的任何警报? - Does removing an app from the recent apps list in Android cause it to disable any alarms that have been set by the alarm manager in an Android app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM