It might sometimes happen because of the compatibility mode settings of the java compiler
You can check it by going to Window - > Preferences -> Java -> Compiler -> Compiler Compliance Level. If that is not set to 1.6 then change it to 1.6 and see if that works. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

