title: Cannot access 'androidx.activity.result.ActivityResultCaller'
body: <p>I'm using <strong>androidx</strong> for quite a while and my Android project compiles fine, however recently my Android Studio throws tons of red for all Activity classes </p>
  
  <p><a href="https://i.stack.imgur.com/V5UJL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/V5UJL.png" alt="enter image description here"></a> because of </p>
  
  <p><code>cannot access 'androidx.activity.result.ActivityResultCaller' which is a supertype of ...</code></p>
  
  <p>I use</p>
  
  <p><strong>AppCompatActivity</strong> from <code>androidx.appcompat:appcompat:1.1.0</code></p>
  
  <p>My <strong>build.gradle</strong> has:</p>
  
  <pre><code>    ext.kotlin_version = '1.3.71'
      ...
      dependencies {
          classpath 'com.android.tools.build:gradle:3.6.3'
          classpath 'com.google.gms:google-services:4.3.3'
  </code></pre>
  
  <p>And <strong>gradle version</strong> 
  <code>distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip</code></p>
  
  <p>My <strong>gradle.properties</strong>:</p>
  
  <pre><code>android.useAndroidX=true
  android.enableJetifier=true
  org.gradle.jvmargs=-Xmx4608m
  org.gradle.parallel=true
  
  # Use kapt in parallel
  kapt.use.worker.api=true
  
  # Kapt compile avoidance
  kapt.include.compile.classpath=false
  </code></pre>