Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0

后端 未结 14 764
暖寄归人
暖寄归人 2020-11-28 07:33

I\'ve got a gradle FAILURE:

...\"Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.\"

Case descrip

14条回答
  •  日久生厌
    2020-11-28 07:56

    It work for me in this issue in a project of react-native:

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.

    244 actionable tasks: 2 executed, 242 up-to-date D8: Cannot fit requested classes in a single dex file (# fields: 67296 > 65536) com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: The number of method references in a .dex file cannot exceed 64K. Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html ....

    I Did this:

    • Uninstall the app from my device:

    • The number of method references in a .dex file cannot exceed 64k API 17

提交回复
热议问题