#查看当前系统最大进程数 linux下
adb shell dumpsys activity settings | grep max_phantom_processes
windows 下
adb shell dumpsys activity settings | findstr max_phantom_processes
如果没改变则为32,只有Android12以上有效果
#停用
adb shell device_config set_sync_disabled_for_tests persistent
#设定最大数是65536
adb shell device_config put activity_manager max_phantom_processes 65536
#这时再调用下面的,就变为65536了
linux下
adb shell dumpsys activity settings | grep max_phantom_processes
windows下
adb shell dumpsys activity settings | findstr max_phantom_processes
android 12以上改变应用最大32进程限制方法
于 2022-02-11 16:30:44 首次发布