Error:(58, 35) error: incompatible types: MainActivity cannot be converted to FragmentActivity
<p>Android beginner, struggling with Activity and AppCompatActivity classes. I am using Activity class in my Drawer Activity, so I have tried to use Activity class for my MainActivity, but I get the following error:</p>

<blockquote>
  <p>Error:(58, 35) error: incompatible types: MainActivity cannot be converted to FragmentActivity</p>
</blockquote>

<p>The following code gives an alert on the 'this' keyword - Wrong 1st argument. Found: 'com.<em>domain</em>.<em>project</em>.MainActivity', required: 'android.support.v4.app.FragmentActivity'</p>

<pre><code>        mGoogleApiClient = new GoogleApiClient.Builder(this)
            .enableAutoManage(this /* FragmentActivity */, this /* OnConnectionFailedListener */)
            .addApi(Auth.GOOGLE_SIGN_IN_API, gso)
            .build();
</code></pre>

<p>How can I allow this section to run while still maintaining extending the Activity class?</p>