1 下载adb 工具
链接:https://static.gsxnj.cn/tools/adb.zip
2 点开adb 工具所在目录
双击地址栏 删除内容 输入cmd
3 手机打开开发者模式 数据线连接电脑 或者无限调试连接后 在cmd窗口输入一下内容
adb wait-for-device
adb devices
adb shell /system/bin/device_config put activity_manager max_phantom_processes 2147483647
adb shell /system/bin/device_config set_sync_disabled_for_tests persistent
adb shell /system/bin/dumpsys activity settings | findstr max_phantom_processes