How to import android.support.v7.app.NotificationCompat.Builder class in Android Studio : <p>I am trying to implement simple notifications in my android app. I am reffering this <a href="https://developer.android.com/guide/topics/ui/notifiers/notifications.html" rel="noreferrer">developer guide</a> </p>

<p><strong>But getting this error message :</strong> </p>

<pre><code>Incompatible types.
Required: android.support.v7app.NotificationCompat.Builder
Found: android.support.v4.app.Notification.Compat.Builder
</code></pre>

<p><a href="http://i.stack.imgur.com/fBG5r.png" rel="noreferrer">Error Message screenshot</a></p>

<p><strong>For the following code snippet :</strong></p>

<pre><code>NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this)
                        .setSmallIcon(R.drawable.ic_launcher)
                        .setContentTitle("My notification")
                        .setContentText("Hello World!");
</code></pre>

<p><strong>Here are my imports :</strong></p>

<pre><code>import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.app.NotificationCompat;
import android.view.View;
import android.widget.Button;
</code></pre>

<p>I think the correct <code>NotificationCompat</code> class is imported. I am using <code>Android Studio v2.1.2</code> for development. Please help me with this error message. I am new to android programming and java.</p>
