I'm facing this issue on some devices and getting an error on my crash analytics. this issue comes when the app is in trouble with ANR and the error is
Unable to start activity ComponentInfo{com.qwykr.dryver.base/com.qwykr.dryver.base.activities.MainActivity}: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment com.qwykr.dryver.base.fragments.SlideFragment: could not find Fragment constructor
@Override
protected void onCreate(Bundle arg0) {
// TODO Auto-generated method stub
super.onCreate(arg0);
}
and Slide constructor is
@SuppressLint("ValidFragment")
public SideMenuFragment(Context mContext) {
this.mContext=mContext;
}
And some time ANR occur with the cause of this issue. sometimes its work fine and sometimes its cause the issue