回复 127 最早 最新 只看楼主
裴***Lv.1 新手上路
2023-12-30 21:03:21 · 来自手机 IP:山东省

  1. private static void reboot() {
  2.         try {
  3.             Runtime.getRuntime().exec("su");
  4.             Runtime.getRuntime().exec("reboot");
  5.         } catch (IOException e) {
  6.             e.printStackTrace();
复制代码
您需要登录后才可以回帖 登录 | 立即注册
本版积分规则