Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API 'android.registerTransform' is removed. #85

Open
BAByte opened this issue Jul 17, 2023 · 3 comments
Open

API 'android.registerTransform' is removed. #85

BAByte opened this issue Jul 17, 2023 · 3 comments

Comments

@BAByte
Copy link

BAByte commented Jul 17, 2023

报错信息如下:

  • What went wrong:
    An exception occurred applying plugin request [id: 'com.bytedance.rhea-trace']

Failed to apply plugin 'com.bytedance.rhea-trace'.
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.

官方文档如下:
https://developer.android.com/build/releases/gradle-plugin-api-updates#transform-removed

@mzule
Copy link
Collaborator

mzule commented Jul 21, 2023

AGP 版本是多少?可以试试 readme 中的最新版本。

@gittosuperfly
Copy link

同样报错:

A problem occurred evaluating script.
> Failed to apply plugin 'com.bytedance.rhea-trace'.
> API 'android.registerTransform' is removed.

AGP版本 8.1.1
依赖版本:com.bytedance.btrace:rhea-gradle-plugin:2.0.3-rc02 为readme中的最新版本

@Annsiyu
Copy link

Annsiyu commented Feb 21, 2024

我也遇到这个问题,怎么解决啊?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants