Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 11
    You can get rid of the compile-time errors by deleting .idea/libraries and re-syncing Gradle. Commented Oct 5, 2018 at 23:21
  • 1
    I think Jetifier works at build time and not at runtime as mentioned here. You can either use android.enableJetifier=true on gradle or use the standalone jetifier tool developer.android.com/studio/command-line/jetifier to migrate to androidx. Both these options replace package names at build time so the old support libraries are not even part of the packaging. Commented Nov 1, 2018 at 17:33
  • This is the best answer. +1 Commented May 1, 2021 at 12:35