adb编辑器获取root权限显示su : not found;adbd cannot run as root in production builds

时间:2024-05-22 10:17:40

错误:

使用adb编辑器获取root权限时,显示如下:

①通过su方式获取(提取root权限)
adb编辑器获取root权限显示su : not found;adbd cannot run as root in production builds

②通过adb root 方式获取(以root权限重新启动 adb的守护进程。)
adb编辑器获取root权限显示su : not found;adbd cannot run as root in production builds

原因:

之所以会这样,是因为下载的虚拟机中Target带(Google play),是无法获取管理员权限的
adb编辑器获取root权限显示su : not found;adbd cannot run as root in production builds

解决方法:

重新下载一个Target带(Google APIs)的虚拟机,就可以获取管理员权限的,
adb编辑器获取root权限显示su : not found;adbd cannot run as root in production builds

启动新的虚拟机后,重新获取adb root权限成功
adb编辑器获取root权限显示su : not found;adbd cannot run as root in production builds