安卓手机termux安装ubuntu被kill进程解决
最近用小米12sultra安装了termux,并proot安装了ubuntu,发现总是被杀进程。
解决方案如下:
1.手机开启开发者模式。
2.电脑安装adb工具。
3.adb连接手机,并输入如下命令,将最大子进程数改为65536
adb shell device_config set_sync_disabled_for_tests persistent adb shell device_config put activity_manager max_phantom_processes 65536