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

AGP 8.0 适配问题咨询 #112

Open
KollerWithDoris opened this issue Oct 12, 2023 · 5 comments
Open

AGP 8.0 适配问题咨询 #112

KollerWithDoris opened this issue Oct 12, 2023 · 5 comments

Comments

@KollerWithDoris
Copy link

"android.registerTransform" is obsolete.
It will be removed in version 8.0 of the Android Gradle plugin.
The Transform API is removed to improve build performance. Projects that use the
Transform API force the Android Gradle plugin to use a less optimized flow for the
build that can result in large regressions in build times. It’s also difficult to
use the Transform API and combine it with other Gradle features; the replacement
APIs aim to make it easier to extend the build without introducing performance or
correctness issues.

There is no single replacement for the Transform API—there are new, targeted
APIs for each use case. All the replacement APIs are in the
androidComponents {} block.
For more information, see https://developer.android.com/studio/releases/gradle-plugin-api-updates#transform-api.

8.0版本已经remove掉registerTransform 导致 rhea plugin 源码编译不过,想请问一下何时适配

官方建议使用instrumentation api。
https://developer.android.com/studio/releases/gradle-plugin-api-updates?hl=zh-cn#transform-api

@treanow
Copy link

treanow commented Nov 9, 2023

同期待何时适配AGP 8.0

@KollerWithDoris
Copy link
Author

KollerWithDoris commented Nov 9, 2023 via email

@xiaoxincoder
Copy link

遇到了同样的问题, 希望能尽快适配下

@KollerWithDoris
Copy link
Author

KollerWithDoris commented Nov 29, 2023 via email

@anpen
Copy link

anpen commented Mar 7, 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