Android Studio에서 코드를 빌드 할 때이 경고 메시지가 표시됩니다.
몇 번이나 나타나지 않지만 대부분의 시간을 보입니다.Android 경고 - InnerClasses 속성 무시 (jnamed)
-keepattributes EnclosingMethod
-keepattributes InnerClasses
가 도움이되지 않았다 그러나 :
warning: Ignoring InnerClasses attribute for an anonymous inner class
(jnamed$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(jnamed$2) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(jnamed$3) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
나는 다른 문제를 읽고 내 난독 파일에 다음을 포함 시켰습니다.
편집 :
는이 문제를 해결하는 것은 불가능, 어떻게 postguard이 경고 (또는 다른 방법으로) 숨을 가르쳐주십시오. 고맙습니다!
안녕하세요, 본 적이 있나요? http://stackoverflow.com/questions/30999337/android-studio-and-gradle – Jaco
안녕하세요. 아니, 그게 맞지 않아. 도움이되지 않았다. 내 질문에 아래 표를 제거하여 답변을 얻을 수 있도록하십시오. 감사! –
죄송합니다 György Benedek, 나는 당신에게 아래 표를 추가하지 않았습니다 – Jaco