Eclipse ADT cannot set conditional breakpoint on SDK sources: missing java Project context

后端 未结 1 1708
无人及你
无人及你 2021-01-18 14:34

I am trying to debug a simple Android app with Eclipse 3.7.1. I attachted the Android SDK sources so I can step through the code of the SDK also. I can set unconditional bre

相关标签:
1条回答
  • 2021-01-18 14:59

    To fix this error, create a new Java project for the Android library your project uses. Link the sources of the Android library delivered by the SDK to that project. Exclude everything (*), otherwise warning and error messages will flood your log! Attach the source code from that new project to the «android.jar» your project uses. That's it.

    I wrote a more step-by-step solution here.

    0 讨论(0)
提交回复
热议问题