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

在新版的 gradle 中使用 Fat-aar 遇到警告提示。 #391

Open
Zhanghao0150 opened this issue Jul 14, 2022 · 1 comment
Open

在新版的 gradle 中使用 Fat-aar 遇到警告提示。 #391

Zhanghao0150 opened this issue Jul 14, 2022 · 1 comment

Comments

@Zhanghao0150
Copy link

Describe the issue
API '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.
To determine what is calling android.registerTransform, use -Pandroid.debug.obsoleteApi=true on the command line to display more information.

除了有这个警告之外,不影响使用。

Build Environment

  • Operating System: [e.g. windows]
  • Gradle Plugin Version: [e.g. 7.2.1]
  • Gradle Version: [e.g. 7.3.3]
  • Fat-aar Version: [e.g. 1.3.8]
@haipinghuang
Copy link

麻烦帮忙看下我得issues:#390,
看了下你的版本比我还高,竟然没有报我遇到得错,奇怪

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

2 participants