java.lang.ClassCastException: android.support.v7.widget.TintContextWrapper cannot be cast to android.app.Activity

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by lorduriel
, 1 year ago
android.support.v7.widget.TintContextWrapper cannot be cast to android.app.Activity
java.lang.ClassCastException: android.support.v7.widget.TintContextWrapper cannot be cast to android.app.Activity
at com.oguzdev.circularfloatingactionmenu.library.FloatingActionMenu.getActivityContentView(FloatingActionMenu.java:304)
at com.oguzdev.circularfloatingactionmenu.library.FloatingActionMenu.(FloatingActionMenu.java:94)
at com.oguzdev.circularfloatingactionmenu.library.FloatingActionMenu$Builder.build(FloatingActionMenu.java:495)
at com.exmaple.buttonsapp.fragments.CircleButtons$override.onCreateView(CircleButtons.java:112)
at com.exmaple.buttonsapp.fragments.CircleButtons$override.access$dispatch(CircleButtons.java)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.