title: Android requires compliance level 5.0 or 6.0
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/7637144/android-requires-compiler-compliance-level-5-0-or-6-0-found-1-7-instead-plea">Android requires compiler compliance level 5.0 or 6.0. Found &#39;1.7&#39; instead. Please use Android Tools &gt; Fix Project Properties</a>  </p>
  </blockquote>
  
  
  
  <p>I have added this line of code to my android app:</p>
  
  <pre><code>ArrayList&lt;hashmap&lt;string, string=""&gt;&gt; mylist = new ArrayList&lt;hashmap&lt;string, string=""&gt;&gt;();
  </code></pre>
  
  <p>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:</p>
  
  <pre><code>Multiple markers at this line
  - Syntax error on token "&gt;&gt;", invalid AssignmentOperator
  - Syntax error on token ",", TypeArgument2 expected after this token
  - Syntax error on tokens, delete these tokens
  </code></pre>
  
  <p>I also have a error displayed on the console:</p>
  
  <pre><code>Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools &gt; Fix Project Properties.
  </code></pre>
  
  <p>I have tried:</p>
  
  <p>project -> android tools -> fix project properties,</p>
  
  <p>project -> clean,</p>
  
  <p>project -> properties -> java compiler -> compiler compliance level (currently set at 1.5 but have tried 1.6 and 1.7 and no fix)</p>
  
  <p>Please help :(</p>