Unable to execute adb shell pm list packages

Unable to execute adb shell pm list packages
The reason why some mobile phones cannot execute commands is simple. Use adb shell to enter the linux mode, and you can directly use linux related commands without adding adb
insert image description here

As you can see, when I execute the command to view system applications, it prompts me that the adb command is not found.
insert image description here
When I delete the previous adb shell command, I run pm list packages -s directly and
it runs successfully.
I searched for the answer for a long time, and some people said that it was because of the settings of the mobile phone, but I didn't try it either, so you can try it.

I am original!

Guess you like

Origin blog.csdn.net/weixin_43644470/article/details/85675427