码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-07-03 15:49:46      阅读:317      评论:0      收藏:0      [点我收藏+]

标签:

问题:

[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了

版权声明:本文为博主原创文章,未经博主允许不得转载。

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

标签:

原文地址:http://blog.csdn.net/tabactivity/article/details/46741799

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!