FragmentActivity which is a supertype of MainActivity can not be accessed

Published

When I wanna create a new project in AS I get this error:

Cannot access ‘androidx.fragment.app.FragmentActivity’ which is a supertype of ‘com.example.test123.MainActivity’. Check your module classpath for missing or conflicting dependencies

After that I can not build/rebuild or run my clean new project.
any idea?
Thanks in advance.

Source: Android Questions

Published
Categorized as android, android-activity, appcompatactivity, gradle

Answers

Leave a Reply

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq