【解决】run-as: Package '' is unknown

问题:

[2014-07-30 20:20:25 - nativeSensorStl] gdbserver output:
[2014-07-30 20:20:25 - nativeSensorStl] run-as: Package 'com.example.nativesensorstl' is unknown

[2014-07-30 20:20:25 - nativeSensorStl] Verify if the application was built with NDK_DEBUG=1
[2014-07-30 20:41:21 - nativeSensorStl] gdbserver output:
[2014-07-30 20:41:21 - nativeSensorStl] run-as: Package 'com.example.nativesensorstl' is unknown

[2014-07-30 20:41:21 - nativeSensorStl] Verify if the application was built with NDK_DEBUG=1


解决

su
mount -o remount,rw /system
chmod 4750 /system/bin/run-as

http://visualgdb.com/KB/?ProblemID=nopkg


可是可能没用。提示“

1|shell@mx4pro:/ # mount -o remount,rw /system
mount -o remount,rw /system
mount: Operation not permitted”


那么直接下个Root Explorer 装到手机上,


然后就OK了

posted @ 2017-06-21 19:48  claireyuancy  阅读(785)  评论(0编辑  收藏  举报