Android Studio: How to attach javadoc

前端 未结 10 1908
一向
一向 2020-12-04 09:47

It might be very trivial question, But I couldn\'t find any option to attach javadoc/source with local jar dependencies (in libs folder) in android project. I can\'t believe

10条回答
  •  醉话见心
    2020-12-04 10:12

    It is possible:

    1. Open Project structure
    2. Navigate to dependency that you want
    3. Press button from the screenshot and provide folder or file

    screenshot 1

    Another way to attach sources:

    1. Step into class from library (Hover mouse over class name and do CMD + Left click or CMD + B)
    2. You will see decompiled version of class there menu on the top right side of editor "Attach sources.."

    screenshot 2

提交回复
热议问题