Question: I'm in an android programming class and I am trying to add an action bar to my app. The actionbaractivity shown below is underlined in

I'm in an android programming class and I am trying to add an action bar to my app.

The actionbaractivity shown below is underlined in red saying it cannot resolve the symbol. From what I understand I have to add a dependencies in the build.gradle. I imported this project and there does not seem to be one in it. Is there a way for me to add a build.gradle or something similair. Thanks in advance.

import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!