androidandroid-studiokotlinandroid-module

Why do I get an error when creating a new module in Android Studio?


So I just created a new module and everything on the module is red. I'm not sure what's happening?

enter image description here

The error message is shown above


Solution

  • Maybe you missed to add required dependencies for that module

    For example implementation 'androidx.lifecycle:lifecycle-extensions.x.x.x"