#1183·DoKit

【Android】-gradle8.6.0编译报错,未适配gradle8.6.0

Author: yswheyeCreated Dec 5, 2024Updated Feb 24, 2026

Android compileSdkVersion = 34 gradle 8.6.0,编译报错,希望能适配一下。

Failed to apply plugin 'com.didi.dokit'.

API 'android.registerTransform' is removed.

 For more information, see https://developer.android.com/studio/releases/gradle-plugin-api-updates#transform-api.
 To determine what is calling android.registerTransform, use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
image