try { if ((!new File("/system/bin/su").exists()) && (!new File("/system/xbin/su").exists())) { isRooted = false; } else { isRooted = true; } } catch (Exception e) { }
判断android设备是否root
最新推荐文章于 2024-12-30 17:23:42 发布
try { if ((!new File("/system/bin/su").exists()) && (!new File("/system/xbin/su").exists())) { isRooted = false; } else { isRooted = true; } } catch (Exception e) { }