Tam*_*oro 5 beta android android-studio android-gradle-plugin
今天刚注意到 Arctic Fox 更新了 Beta 4。之前的 Beta 版没有任何问题,所以我决定升级 Beta 3。一如既往,AGP 也需要升级。新的 Beta 似乎工作正常,直到我尝试使用新的 Gradle n AGP 构建我的项目。每次都会遇到此错误,除了恢复到 Arctic Fox beta 3 或其正常发行版本之外,我尝试过的任何方法(包括消息中建议的步骤)都不起作用。想知道这里是否有人知道原因并有解决方案
Unable to find method com.android.build.api.extension.VariantSelector com.android.build.api.extension.AndroidComponentsExtension.selector()
com.android.build.api.extension.VariantSelector com.android.build.api.extension.AndroidComponentsExtension.selector()
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)
Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3327 次 |
| 最近记录: |