Code works in one Android project but won't compile in another
<p>The following code was copied from project one and pasted into project two. No errors in project one. In project two I get: </p>

<blockquote>
  <p>The method <code>onClick(View)</code> of type <code>new View.OnClickListener((){}</code> must override a superclass method
  implements <code>androd.view.View.OnClickListener.onClick</code></p>
</blockquote>

<p>The project settings look the same, but I must be missing something.</p>

<pre><code>private Button mCompany = null;

public class About extends Activity{

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.about);
    setTitle(R.string.title_about);

    mCompany = (Button)findViewById(R.id.about_company_button);
    mCompany.setOnClickListener( new OnClickListener() {

        @Override
        public void onClick(View arg0) { 
            Intent intent = new Intent(Intent.ACTION_VIEW);
                             intent.setData(Uri.parse(getResources().getString(R.string.app_company_website)));
            startActivity(intent); 
        }

    });
</code></pre>
