title: Upgrading to Jetpack Compose Alpha 12 causes errors on setContent
body: <p>I upgraded to Jetpack Compose 1.0.0-alpha12 and started to run into issues.</p>
  <p>Firstly, the <code>setContent</code> method I was using showed as deprecated.</p>
  <p>From the <a href="https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0-alpha12" rel="noreferrer">Alpha 12 release notes</a>, I noticed that it said:</p>
  <blockquote>
  <p>ComponentActivity.setContent has moved to androidx.activity.compose.setContent in the androidx.activity:activity-compose module. (<a href="https://android-review.googlesource.com/#/q/Icf4168e6078b87ce746569a946b2a90274197c72" rel="noreferrer">Icf416</a>)</p>
  </blockquote>
  <p>So I removed my <code>import androidx.compose.ui.platform.setContent</code> and switched it to <code>import androidx.activity.compose.setContent</code>, which removed the deprecation.</p>
  <p>However, I then got an error that says:</p>
  <pre><code>w: Flag is not supported by this version of the compiler: -Xallow-jvm-ir-dependencies
  w: ATTENTION!
  This build uses unsafe internal compiler arguments:
  -XXLanguage:+NonParenthesizedAnnotationsOnFunctionalTypes
  This mode is not recommended for production use,
  as no stability/compatibility guarantees are given on
  compiler or generated code. Use it at your own risk!
  e: Classes compiled by an unstable version of the Kotlin compiler were found in dependencies.
  Remove them from the classpath or use '-Xallow-unstable-dependencies' to suppress errors
  e: /[my path]/MainActivity.kt: (39, 9): Class 'androidx.activity.compose.ComponentActivityKt' is
  compiled by an unstable version of the Kotlin compiler and cannot be loaded by this compiler
  </code></pre>
  <p>And again, I was able to work around that by changing my <code>build.gradle</code> file to have:</p>
  <pre><code>kotlinOptions {
      jvmTarget = '1.8'
      useIR = true
      // I added this line
      freeCompilerArgs += &quot;-Xallow-unstable-dependencies&quot;
  }
  </code></pre>
  <p>While that let me compile my app, I now get the following exception at runtime:</p>
  <pre><code>java.lang.NoSuchMethodError: No static method setContent(
  Landroidx/activity/ComponentActivity;Landroidx/compose/runtime/Com
  positionContext;Lkotlin/jvm/functions/Function2;)V in class 
  Landroidx/activity/compose/ComponentActivityKt; or its super classes
  (declaration of 'androidx.activity.compose.ComponentActivityKt' appears in [my apk]
  </code></pre>
  <p>How can I fix this and upgrade my app to Jetpack Compose 1.0.0-alpha12?</p>