Are you using Java 6?

On Monday, October 20, 2014 1:42:14 PM UTC-4, Csaba Kozák wrote:
>
> A known problem with dex if somebody tries to dex .class files with an old 
> class format, dx will yield warning messages like this:
>
> [INFO] warning: Ignoring InnerClasses attribute for an anonymous inner 
>> class
>> [INFO] (org.apache.log4j.xml.DOMConfigurator$1) that doesn't come with an
>> [INFO] associated EnclosingMethod attribute. This class was probably 
>> produced by a
>> [INFO] compiler that did not target the modern .class file format. The 
>> recommended
>> [INFO] solution is to recompile the class from source, using an 
>> up-to-date compiler
>> [INFO] and without specifying any "-target" type options. The consequence 
>> of ignoring
>> [INFO] this warning is that reflective operations on this class will 
>> incorrectly
>> [INFO] indicate that it is *not* an inner class.
>>
>
>
> Unfortunately i cannot change the .class files, since they are external 
> dependencies. But this error is very annoying.
> Is there a command line flag for dx to not to print warning messages? I 
> searched everywhere but i did not found one
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to