Receiving a build error when upgrading to gradle 3.3 and android build tools 2.3.0

后端 未结 2 1411
刺人心
刺人心 2020-12-16 00:47

I just updated my build files

Gradle from 2.14.1 to 3.3 Android Plugin from 2.2.3 to 2.3.0

I am receiving the following error. Seems like some thirdparty plugi

2条回答
  •  攒了一身酷
    2020-12-16 01:09

    android-apt has been deprecated and, as per the migration guide:

    As of the Android Gradle plugin version 2.2, all functionality that was previously provided by android-apt is now available in the Android plugin.

    You can remove android-apt and follow the migration guide to get the equivalent functionality.

    Similarly, as per the sdk-manager-plugin page:

    This plugin is deprecated and is no longer being developed. Tools and dependencies are automatically downloaded using version 2.2.0 of the Android Gradle plugin or newer.

    So it too can be removed.

提交回复
热议问题