2014-11-18 8 views
5

ho utilizzato il file jar lcrypto-j2me-144.jar per crittografare il nome utente e la password nella mia applicazione. in console mi sta dando, fondamentalmente è un file jar j2me, per favore guidami a sbarazzarmi di questo problema.avviso di Android Dx: ignorare l'attributo InnerClasses per un problema anonimo del file jar della classe interna

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

mi sto questo stesso problema quando si tenta di importare dagger-compiler. –

+0

hai capito questo? –

+0

Non ho trovato alcuna soluzione con eclissi IDE – Achin

risposta

13

Cordiali saluti, questo può accadere anche durante la compilazione per Java 1.7 e la biblioteca sono passati attraverso Proguard, aggiungendo questo risolverà il problema quando si compila la libreria:

-keepattributes EnclosingMethod

+6

Questo non è d'aiuto se non accade da Proguard. – Archinamon

Problemi correlati