try { if ((!new File("/system/bin/su").exists()) && (!new File("/system/xbin/su").exists())) { isRooted = false; } else { isRooted = true; } } catch (Exception e) { }
判断android设备是否root
最新推荐文章于 2023-09-13 10:33:51 发布
try { if ((!new File("/system/bin/su").exists()) && (!new File("/system/xbin/su").exists())) { isRooted = false; } else { isRooted = true; } } catch (Exception e) { }