Possible Duplicate:
Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties
I have added this line of code to my android app:
ArrayList<hashmap<string, string="">> mylist = new ArrayList<hashmap<string, string="">>();
it has worked in other peoples apps but on mine it comes up with a red cross next to is which when I hover over it says:
Multiple markers at this line
- Syntax error on token ">>", invalid AssignmentOperator
- Syntax error on token ",", TypeArgument2 expected after this token
- Syntax error on tokens, delete these tokens
I also have a error displayed on the console:
Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties.
I have tried:
project -> android tools -> fix project properties,
project -> clean,
project -> properties -> java compiler -> compiler compliance level (currently set at 1.5 but have tried 1.6 and 1.7 and no fix)
Please help :(