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?
Share
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.