我可以运行Robotium测试,但不能进行调试测试、Robotium

由网友(3.小资情调)分享简介:我测试的APK,对此我没有我的电话的来源。我已确保我在这两个试验和应用的APK相同证书。我能够从Eclipse中运行我的测试正常,但是当我试图通过调试方式进行调试,月食似乎被卡住启动测试。在底部的进度条,我看到启动:创建源定位器...。我在适当的地点设置断点,并没有什么,我可以在logcat的输出看表明,有无论是在测试...

我测试的APK,对此我没有我的电话的来源。我已确保我在这两个试验和应用的APK相同证书。我能够从Eclipse中运行我的测试正常,但是当我试图通过调试方式进行调试,月食似乎被卡住启动测试。在底部的进度条,我看到启动:创建源定位器...。我在适当的地点设置断点,并没有什么,我可以在logcat的输出看表明,有无论是在测试过程中或应用程序崩溃。什么问题可能是,或如何任何想法,以进一步调查?

I'm testing an apk for which I don't have sources on my phone. I have ensured that I have the same certificates in both the test and app apks. I'm able to run my tests fine from eclipse, but when I try to debug through "Debug As", eclipse appears to be stuck launching the tests. In the progress bar at the bottom, I see "Launching: Creating source locator...". I have set breakpoints in the appropriate spots, and nothing that I can see in the logcat output to suggest that there's a crash in either the test process or the app process. Any ideas on what the problem might be or how to investigate further?

推荐答案

我有类似的问题。

有我的解决办法是,有可能只有一个DDMS实例运行。因此,举例来说,如果我有工具/ ddms.bat运行,而在同一时间的Eclipse被打开了,然后调试并没有为我工作。

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.

阅读全文

相关推荐

最新文章