2014-11-18 12 views
5

Używam lcrypto-j2me-144.jar plik JAR do zaszyfrowania nazwy użytkownika i hasła w mojej aplikacji działa poprawnie, ale gdy patrzę do konsoli daje mi, w zasadzie jest to plik jar j2me, proszę przypomnienie mnie, aby pozbyć się tego problemu.Ostrzeżenie Dx dla systemu Android: Ignorowanie atrybutu InnerClasses dla wydania anonimowego pliku JAR klasy wewnętrznej

Dx warning: Ignoring InnerClasses attribute for an anonymous inner class 
(org.bouncycastle.asn1.ASN1Sequence$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. 
+0

Dostaję ten sam problem podczas próby importowania kompilatora sztyletów. –

+0

wymyśliłeś to? –

+0

Nie znalazłem żadnego rozwiązania z eclipse IDE – Achin

Odpowiedz

13

Wystarczy FYI, to może się zdarzyć podczas kompilacji Java 1.7 oraz biblioteki zostały przez PROGUARD, dodając to rozwiąże problem przy kompilacji biblioteki:

-keepattributes EnclosingMethod

+6

To nie pomoże, jeśli nie nastąpi przez proguard. – Archinamon

Powiązane problemy