Reputation: 3
Android Studio Version 2.2.3 - Click here to see the Screen Shot of my error.
I am currently working on a school project. My issue is getting past this error when I attempt to add the new theme name to the XML code in the styles.xml file. The project is wanting me to use Base.Theme.AppCompat. When I do so I get errors. Please help! Thank you in advanced!
Upvotes: 0
Views: 204
Reputation:
In your activity change
public class ActivityName extends AppCompatActivity to public class ActivityName extends Activity
then you will be able to use any Theme
Upvotes: 0
Reputation:
Your project seems to have a dependency with 'Appcompat' library. Please add this library to project.
If you use API 25, you may add this library in gradle file as following.
dependencies {
...
compile 'com.android.support:appcompat-v7:25.0.0'
...
}
Upvotes: 1