It looks like they may be using stderr to output that which makes it present even with -q. There' no way to control this, it'd have to be fixed in dx itself.
On Thu, Mar 6, 2014 at 2:00 PM, Roberto Garcia <[email protected]> wrote: > Community! > > I am receiving a warning (out of my control) during my gradle build > which has become extremely annoying. > > This call: > ./adt-bundle-mac-x86_64-20131030/sdk/build-tools/android-4.4/dx --dex - > --output > ./build/pre-dexed/armv7/release/Pdf417MobiSdk-064d1e3874db873fc6589e20822beef9cc40ec88.jar > ./libs/Pdf417MobiSdk.jar > > Produces this warning (even with -q passed to gradle): > > warning: Ignoring InnerClasses attribute for an anonymous inner class > > (net.photopay.secured.IlIIlIIIII) 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. > > Questions: > 1. Is it possible to pass dx an option to suppress this warning? > 2. Where would it go in the gradle file? > 3. What would the specifics of the configuration parameter in the gradle > file be? > > Thanks! > -Roberto > > -- > 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/groups/opt_out. > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. http://developer.android.com | http://tools.android.com Please do not send me questions directly. Thanks! -- 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.
