public static boolean isRoot() {
boolean root = false;
try {
if ((!new File("/system/bin/su").exists())
&& (!new File("/system/xbin/su").exists())) {
root = false;
} else {
root = true;
}
} catch (Exception e) {
}
return root;
}
Android 判断设备是否Root
最新推荐文章于 2022-01-19 15:53:35 发布