小编Mah*_*Aly的帖子

Agconnect - API“android.registerTransform”已删除

迁移到 gradle 8.x 后,我无法构建应用程序,因为最新的华为 AppGallery 依赖项 com.huawei.agconnect:agcp:1.9.0.300仍然与 gradle 8 不兼容。

那么除了恢复到 gradle 7 之外还有其他解决方案吗?

A problem occurred evaluating project ':app'.
> Failed to apply plugin 'com.huawei.agconnect'.
   > 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.
Run Code Online (Sandbox Code Playgroud)

android huawei-developers

7
推荐指数
2
解决办法
1690
查看次数

标签 统计

android ×1

huawei-developers ×1