FragmentActivity which is a supertype of MainActivity can not be accessed


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

Cannot access ‘’ 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

Categorized as android, android-activity, appcompatactivity, gradle


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