为什么我在执行“pm"时会出现分段错误错误

why do i get a Segmentation fault error when i exec quot;pmquot; on an android device?(为什么我在执行“pm时会出现分段错误错误?在安卓设备上?)

本文介绍了为什么我在执行“pm"时会出现分段错误错误?在安卓设备上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的设备:htcg14 已植根

my device:htcg14 rooted

我可以在模拟器上执行 pm.

i can exec pm on emulator.

但是我的设备不工作.在我执行su"之前,它工作正常.

But my device does not work. Before I exec "su",it works fine.

shell@android:/ $ pm
usage: pm list packages [-f] [-d] [-e] [-s] [-e] [-u] [FILTER]
       pm list permission-groups
       pm list permissions [-g] [-f] [-d] [-u] [GROUP]

但是当我执行 su,然后执行 pm,我在下面得到一个错误.为什么?

But when I exec su,then exec pm,i get an error below.Why?

shell@android:/ $ su
su
shell@android:/ # pm
pm
[1] + Stopped (signal)     pm
shell@android:/ # pm
pm
[2] + Stopped (signal)     pm
[1] - Segmentation fault   pm
shell@android:/ # busybox pm
busybox pm
pm: applet not found
[2] + Segmentation fault   pm
1|shell@android:/ #

我如何执行 pm?帮助...

how can i execute pm? help...

推荐答案

升级您的 su 二进制文件 - 转到 SuperUser 应用程序并检查更新.如果这不能解决您的问题,请使用其他应用程序,例如 SuperSU.

Upgrade your su binary - go to SuperUser app and check for updates. If that doesn't solve your problem then use some other app like SuperSU.

这篇关于为什么我在执行“pm"时会出现分段错误错误?在安卓设备上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:为什么我在执行“pm"时会出现分段错误错误