MainActivity.java issue starting a new Android Project
<p>When I start a new android project in eclipse there is an error inside which I can't fix, even with the hint. How is it possibile?
I work with Mint 64bit and Eclipse 64bit, I followed the tutorial on the ufficial page to install all I need. This is the code. The problem is in setContentView and in getMenuInflater with R class. I don't know what to do, I can't find a solution on internet...</p>

<pre><code>package com.example.myfirstapp;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class MainActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }
}
</code></pre>
