Compiling Android App -- Warning becomes Fatal Error

During compilation of my Android app, I get the following message:

warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by a broken compiler.)
warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by a broken compiler.)
warning: Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by a broken compiler.)


Notice how the tool doing the build (dex) calls these notices "warning".

Unfortunately, IJ is considerting this to be a fatal error, and refuses to complete the compilation process.

This seems to be new to the last EA and the current 9.0.3 build (95-429). I can't say if it was present for older EAs, as I've been away from my Android app for a couple of months, just now picking it up again.

Can anyone tell me how to instruct IJ to just plug away, and everything will be OK???

thanks,

jay

0
4 comments

I have verified that there is no issue with the 9.0.2 (build #95-66) build.

Because this is a regression, I have entered bug IDEA-56753.

0
Avatar
Permanently deleted user

Was there a solution to this question?

0

The fix was released in one of the 9.0.4 EAs.

0
Avatar
Permanently deleted user

I've just installed IntelliJ IDEA 10 Community edition, and got this problem.
I need to set something in Settings, or this bug was fixed only in Ultimate Edition?

0

Please sign in to leave a comment.