I am not able to figure out why my app crashes when getSupportFragmentManager() is called.I have used similar code in other apps to create alert dialogs without any issues.p
I know you have done this step but just asking did you tried to rebuild your APK?because if this code works in other applications then their must be some .classes issue.