This is not complaining about the Project > Properties > Android. It is complaining about the *Java* compiler level. In the Project > Properties > Java Compiler > JDK Compiler make sure you are using Java 1.5 or Java 1.6.
R/ On Tue, May 26, 2009 at 7:15 AM, schwiz <sch...@gmail.com> wrote: > > I used file>import>general>existing projects into workspace > I am trying to run the widget example from the dev blog but when I > import the project I get an error > > Description Resource Path Location Type > Syntax error, annotations are only available if source level is 1.5 > WordWidget.java SimpleWiktionary/src/com/example/android/ > simplewiktionary line 44 Java Problem > > I select properties>android and make sure the project build target is > 1.5 but that doesnt fix anything > > I am also getting this error in my console > > [2009-05-26 09:02:27 - spore-android] Android requires .class > compatibility set to 5.0. Please fix project properties. > > this is also happening with a widget I was working on and needed to re- > import. I sure hope someone can help me!!! > thanks. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---