OnClickListener Error
<p>I am new to Android and tried to run the sample code of the SDK using eclipse. I created the project (via File &rarr; New &rarr; Project &rarr; Android &rarr; Android Sample Project), but when I run the project it shows the following error for all the sample projects:</p>

<blockquote>
  <p>Multiple markers at this line</p>
  
  <ul>
  <li>The method onClick(View) of type new View.OnClickListener(){} must override a superclass     method</li>
  <li>implements android.view.View.OnClickListener.onClick</li>
  </ul>
</blockquote>

<p>Then I refered to this forum. Here they mentioned a "compiler compliance level". But my compiler compliance level is on 1.7, and I am using Android 4.0.3 with an API level of 15.</p>

<p>So please help me to rectify this error.</p>
