Android Build a Simple Android App with Java Creating the Screen Layout Setting a Fullscreen Theme

no resource match for Theme.AppCompat.Light.NoActionBar

app compat error

1 Answer

Hi Katrina. Check your build.gradle (Module:app) file and make sure you have AppCompat added to your dependencies. It should look like this:

dependencies {
    // other dependencies you may have
    implementation ''

The version number will depend on the compileSdkVersion you have at the top of the file (here, it would be 28).

Hope that helps :)