In my case, the reason was that the specific action did not have a theme declared in the manifest file.
To fix this, open AndroidManifest.xml, click on "Application", select emergency activity in the "Application Sites" and add a subject to the "Subject" field of the attributes. In my case, it was
@style/Theme.AppCompat.Light.DarkActionBar
but you can copy the theme from one of your other activities.
PS: I know this is the answer to the old question, but I came across it while looking for a fix and did not find a working solution so that it could help others.
Vlad Schnakovszki
source share