Reputation: 20441
I'm learning Android and have need for dates/times. I was recommended Joda-time by a colleague, which seems to be exactly what I need to make progress. Unfortunately, I'm having trouble getting it to work.
I'm using intellij and this is Android 2.2.
Steps I took:
I then get this error:
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.)
I have no idea where to go from here. Help would be appreciated!
Upvotes: 9
Views: 3116
Reputation: 40623
If you're not using reflection on the Joda-Time classes, you can ignore the error. You can fix the problem by building the Joda-Time sourcecode with a Java 1.5 compiler.
Upvotes: 4
Reputation: 1707
I believe you can safely ignore those warning. I get those in my included library but it works as expected.
Upvotes: 4