How do I use the standalone Jetifier to migrate to AndroidX?

后端 未结 2 1629
孤城傲影
孤城傲影 2021-02-06 15:29

The Jetifier tool is used as part of the AndroidX migration tool bundled with Android Studio. There is an issue with the tool, however, that is outlined here: https://issuetra

2条回答
  •  悲&欢浪女
    2021-02-06 16:35

    I´m a bite late to the party, but I think there is only one fast option to solve that issue:

    Go to Google Archives, Agree save and terms and download Android Studio 3.3 Beta 2 - this is the latest version before the problem occurs. You also have to downgrade your build.gradle to

    classpath 'com.android.tools.build:gradle:3.3.0-beta02'

    using gradle-4.10.2-all should be no problem.

    Perhaps the problem will be fixed with the next beta or canary release, but for now this was the only option that worked out for me.

提交回复
热议问题