title: NotificationCompat.Builder does not accept channel id as an argument
body: <p>I am attempting to set up notifications in my android app, but NotificationCompat will not accept the channel id as an argument. In my gradle file I have</p>
  
  <pre><code>    implementation 'com.android.support:appcompat-v7:27.1.1'
      implementation 'com.android.support:support-compat:27.1.1'
  </code></pre>
  
  <p>I have also created the channels in my Starter code as below.</p>
  
  <pre><code>    if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.O) {
          NotificationChannel channel = new NotificationChannel(
              CHANNEL_1, "Channel 1", NotificationManager.IMPORTANCE_LOW);
  
          channel.setDescription("This is channel 1");
  
          NotificationManager manager = getSystemService(NotificationManager.class);
          if (manager != null) 
              manager.createNotificationChannel(channel);
      }
  </code></pre>
  
  <p>Finally, I have in the activity code.</p>
  
  <pre><code>    NotificationManagerCompat notificationManager = NotificationManagerCompat.from(this);
      Notification notification = new NotificationCompat.Builder(this, CHANNEL_1)
  </code></pre>
  
  <p>......and that is where I find my issue. Android Studio is telling me that the signature block is incorrect. It is not accepting the channel id as a second argument. I have imported both v4, and v7 for the NotificationCompat and neither works. I have also tried</p>
  
  <pre><code>    NotificationCompat.Builder mBuilder = //continued code
  </code></pre>
  
  <p>I have used the below Android links, and I have not found a solution. </p>
  
  <p><a href="https://developer.android.com/training/notify-user/channels" rel="nofollow noreferrer">https://developer.android.com/training/notify-user/channels</a></p>
  
  <p><a href="https://developer.android.com/training/notify-user/build-notification#java" rel="nofollow noreferrer">https://developer.android.com/training/notify-user/build-notification#java</a></p>
  
  <p>I also have viewed two StackOverflow post, which are below, and still no solution for my case.</p>
  
  <p><a href="https://stackoverflow.com/questions/53138762/notificationcompat-builder-not-accepting-channel-id-as-argument">NotificationCompat.Builder() not accepting Channel Id as argument</a></p>
  
  <p><a href="https://stackoverflow.com/questions/50765964/notificationcompat-builder-doesnt-accept-2nd-argument">NotificationCompat.Builder doesn&#39;t accept 2nd argument</a></p>
  
  <p>I cannot figure out why this issue is present. </p>