 <p>You are using latest one so it get like this. Don't worry about it.</p> <pre><code> public class MainActivity extends ActionBarActivity </code></pre> <p>instead of </p> <pre><code>public class MainActivity extends Activity </code></pre> <p>Remove all code in your MainActivity except <code>OnCreate()</code>. Then you follow your tutorial.</p> <p>You onCreate should be</p> <pre><code>@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } </code></pre>