在Samsung Galaxy S6上运行演示测试应用程序:run-as:无法设置功能:不允许操作 [英] Run demo test application on Samsung Galaxy S6: run-as: Could not set capabilities: Operation not permitted

查看:873
本文介绍了在Samsung Galaxy S6上运行演示测试应用程序:run-as:无法设置功能:不允许操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我拥有两台设备 - 其中一台是xtreme wonder,另一台是三星Galaxy S6。我使用Visual Studio制作了一个示例测试应用程序,并且能够使用xtreme wonder启动调试器。同时在三星Galaxy S6上尝试相同的事情(使用ARM Debug和ARM64
调试),我收到以下错误:

I own two devices - one of them is xtreme wonder and another is Samsung Galaxy S6. I have made an example test application using Visual studio, and was able to launch debugger with xtreme wonder. Meanwhile trying same thing (using ARM Debug and ARM64 debug) on Samsung Galaxy S6 and I'm getting following error:

----------- ----------------

Microsoft Visual Studio

--------------- ------------
$
无法开始调试。 Android命令'run-as'失败。无法设置功能:不允许操作。

---------------------------

OK  

---------------------------



---------------------------
Microsoft Visual Studio
---------------------------
Unable to start debugging. Android command 'run-as' failed. Could not set capabilities: Operation not permitted.
---------------------------
OK   
---------------------------

目前有两个线程描述与我相同的问题 - 例如在这里:

There are two threads currently describing same issue as I do - for example in here:

https:/ /stackoverflow.com/questions/37413667/run-as-could-not-set-capabilities-operation-not-permitted

https://stackoverflow.com/questions/37413667/run-as-could-not-set-capabilities-operation-not-permitted

在这里:

https://issuetracker.google.com/issues/37093233#c4

https://issuetracker.google.com/issues/37093233#c4

除了整个手机重置的提议外,还有点令人困惑有关调试器,电话或客户端软件是否有问题的消息。

Besides proposal of whole phone reset, there are bit confusing messages of whether it's problem of debugger, phone or client software.

好的,我认为手机重置不是一个选项,我认为这应该通过三星手机更新修复。

Ok, I think that phone reset is not an option, I think this should be fixed via Samsung phone update.

还有一些提到客户端使用的错误换行,这反过来可能是visual studio本身的错误。

Also there are some mentions about incorrect line feeds used on client side, which in a turn can be a bug in visual studio itself.

是否可以更深入地分析此问题,并就此与三星联系问题是三星方面的问题?

Is it possible to analyze deeper this problem, and also contact Samsung on this matter if problem is on Samsung side ?

第二个链接上的问题是在一年前提出的(哇!) - 但由于这还没有修复,我怀疑这不属于使用adb调试系统的客户端软件上存在错误或错误。

The issue on second link was raised one year ago (WOW!) - but since this is not yet fixed, I suspect that this is not classified as bug or bug is present on client software which uses adb debugging system.

推荐答案

交叉也在这里发布:

Cross posted also here:

http://developer.samsung.com/forum/board/thread/view.do?boardName= SDK& messageId = 313043& startId = zzzzz~

http://developer.samsung.com/forum/board/thread/view.do?boardName=SDK&messageId=313043&startId=zzzzz~

让我们看看我能在哪里获得回复。

Let's see where I can get reply from.


这篇关于在Samsung Galaxy S6上运行演示测试应用程序:run-as:无法设置功能:不允许操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆