2014-11-18 31 views
5

Ich habe lcrypto-j2me-144.jar Jar-Datei verwendet, um den Benutzernamen und das Passwort in meiner Anwendung zu verschlüsseln läuft es gut, aber wenn ich schaue in der Konsole gibt es mir, im Grunde ist es j2me jar Datei, bitte führe mich, um dieses Problem loszuwerden.android Dx Warnung: Ignorieren InnerClasses Attribut für eine anonyme innere Klasse jar Datei Problem

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

Ich erhalte Das gleiche Problem beim Import des Dolch-Compilers. –

+0

hast du das herausgefunden? –

+0

Ich finde keine Lösung mit Eclipse IDE – Achin

Antwort

13

Gerade FYI, dies kann auch passieren, wenn für Java 1.7 und der Bibliothek kompiliert wurden durch proguard gewesen, das Hinzufügen das Problem lösen wird, wenn die Bibliothek Kompilieren:

-keepattributes EnclosingMethod

+6

Das wird nicht helfen, wenn es nicht per Proguard auftritt. – Archinamon