The code was working fine before, but when I updated support library to 24, It crashes when displaying alert dialog. Couldn't find any help as it is updated recently.
Code:
AlertDialog.Builder builderSingle; builderSingle = new AlertDialog.Builder(mContext); //set buttons and title code builderSingle.show();
Logcat:
And the support libraries are:
compile('com.android.support:recyclerview-v7:24.0.0') { exclude group: 'com.android.support', module: 'support-v4' } compile('com.android.support:support-v4:24.0.0') { force = true } compile 'com.android.support:appcompat-v7:24.0.0' compile 'com.android.support:design:24.0.0'