why do i get a Segmentation fault error when i exec “pm” on an android device?

后端 未结 2 1886
醉酒成梦
醉酒成梦 2021-01-13 18:58

my device:htcg14 rooted

i can exec pm on emulator.

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

shell@android:/ $ pm
usag         


        
2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-13 19:31

    In your established shell session, either remote or local, ensure the LD_LIBRARY_PATH envar is set:

    / # export LD_LIBRARY_PATH=/system/lib
    

提交回复
热议问题