title: How can I fix this error with ButterKnife in Android Studio?
body: <p><strong>Building succeeds, but running on an emulator fails with this message in the console:</strong></p>
  <blockquote>
  <p>Cause: superclass access check failed: class butterknife.compiler.ButterKnifeProcessor$RScanner (in unnamed module @0x65e8e2f6) cannot access class com.sun.tools.javac.tree.TreeScanner (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.tree to unnamed module @0x65e8e2f6</p>
  </blockquote>
  <p><strong>What I've tried:</strong> Removing Butterknife from Gradle, syncing, adding back, syncing again. Removing the Butterknife lib completely which doesn't produce this error on-compile, but obviously fails to compile due to missing Butterknife.</p>
  <p><strong>My environment:</strong> Butterknife 10.2.3 Android Grade Plugin Version: 7.1.2 - Gradle Version: 7.2 - Android Studio Bumblebee</p>
  <p>I've read that this error happens with other libraries in some rare cases that seem unrelated to mine and I still haven't found a solution. I'm aware the Butterknife is deprecated and I should migrate to ViewBinding, but that's a big task to convert this entire project to at the moment. Thanks!</p>