I can run Robotium test but cannot debug it

送分小仙女□ 提交于 2019-12-01 23:00:14

I had similar problems.

The solution for me was that there may only be one DDMS instance running. So for example if I had the tools/ddms.bat running while at the same time eclipse was opened, then the debugging didn't work for me.

Franck

I posted as well for the same question, and I figured it out. cannot run as debug robotium junit test

So there is two requirements to get this to work:

  1. you need to have the AUT (App Under Test) setup in your workspace 2. the AUT must be debuggable=true (manifest file)
  2. my mistake was that because I wanted to debug the test only I did not think that I needed the AUT project also.

For me the solution was that I needed to check my device display. I realised that there was a dialog with a question, but since this dialog blocked the device, the test could not run...

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!