Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的应用程序在有根设备上运行。当我的应用程序运行时,我需要关闭另一个应用程序。我怎样才能做到这一点?
am force-stop com.other.app.package在外壳中运行。我什至不相信你必须有根才能工作。
am force-stop com.other.app.package