Gradle 프로젝트에서 Source not found
1719 단어 이클립스decompilergradle
사건
Jar 파일의 내용이 보이지 않음
Jar 파일이 보이지 않기 때문에 소스 첨부하고 싶지만 「Edit Source Lookup Path...」버튼이 없기 때문에 할 수 없다.
오류 메시지가 불가능한 것으로 나타났습니다.

The JAR of this class file belongs to container ‘Project and External Dependencies’ which does not allow modifications to source attachments on its entries
Google 번역:이 클래스 파일의 JAR는 컨테이너 「프로젝트와 외부의 종속성」에 속합니다. 이 컨테이너에서는 항목의 소스 첨부 파일을 변경할 수 없습니다.
원인

오모토의 속성을 본다

gradle을 통해보고 있기 때문에 소스 파일을 첨부 할 수없는 것 같습니다.
해결
할 수 없기 때문에, 플러그인 decompiler 잡는다.

플러그인이 되면 재기동해, 「Class Decompiler Viewer」를 Default로 한다.

클래스 파일을 열 때 볼 수 있습니다.

Reference
이 문제에 관하여(Gradle 프로젝트에서 Source not found), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/ccaiueo/items/04a1d8f4c5199aefd48c텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)