Processing with Android Studio Error in fragment.setView arguments

Thanks for replying me,
I checked both fragment.setView(frame, this); and fragment.setView(frame, MainActivity.this);

The same error comes