.class file opens instead of .java while debugging

前端 未结 9 648
北恋
北恋 2020-12-29 03:14

Current setup:

  • MainProject which is a Library Project

  • BranchProject which is a new projects and has MainPr

9条回答
  •  南方客
    南方客 (楼主)
    2020-12-29 04:07

    Skyler's answer from this post worked for me: Opening source code from debug view edits .class after Android R18 update

    Here is a summary: The fix is to right click the Project name in the debug view, and select "Edit Source Lookup..." from the menu. From there, remove the Default lookup path. After that, manually add the associated projects (not jars) that your project references. This is done by clicking Add, selecting Java Project, then checking the appropriate projects.

提交回复
热议问题