Announcement Announcement Module
No announcement yet.
Unable to debug Andriod within STS - no opened project found for ... Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to debug Andriod within STS - no opened project found for ...

    Within STS 2.8.1, Android DDMS 16.0.1.v201112150204-238534

    I am unable to debug as the DDMS sample android projects.

    App deploys & runs okay but DDMS green bug button generates:

    "no opened project found for Debug Session failed"

    source project is open + plenty of refreshes etc.

    Also, if i debug as a remote java application, the debugger attatches to the emulator ok, but the debug configuration's 'Project' 'project selection' button shows no projects available for selection (I suspect this is the key to the problem)- as if the android project was closed.

    Any suggestions?

  • #2
    Partial answer - but still unable to debug.

    The projects arise from a maven project import. The resulting projects dont have a java builder (only a maven builder) associated with it. Manually editing the .project file adding a java builder causes the project to be listed within the debug configuration's project-selection but it doen not actually enable debugging. The project properties builders-tab however is still missing a java builder with no means of adding one. I think this is where the problem lies - I'm just unable to resolve the issue.