The Implementation Details of Android's force-stop 基于AOSP 8.0.1源码分析force-stop的实现细节。 使用 force-stop am force-stop com.example com.example 是应用程序包名。 am命令 cat /system/bin/am #!/system/bin/sh if [ "$1" != "instrument" ] ; then cmd activity "$@" else base=/system export CLASSPATH=$base/framework/am.jar exec app_process $base/bin com … read more