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
最新推荐文章于 2024-07-16 04:33:51 发布