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

来源:互联网 发布:小米4可以用4g网络吗 编辑:程序博客网 时间:2024/06/05 03:48

问题:

[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


解决

sumount -o remount,rw /systemchmod 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了

1 0