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

gradle8.0舍弃了transformer-api,导致编译不通过 #490

Open
caotonghuazang opened this issue Nov 12, 2024 · 2 comments
Open

gradle8.0舍弃了transformer-api,导致编译不通过 #490

caotonghuazang opened this issue Nov 12, 2024 · 2 comments

Comments

@caotonghuazang
Copy link

在提交issue之前,我们应该先查询是否已经有相关的issue和ReadMe中的注意事项,比如说Robust在0.3.3版本才支持windows开发。提交issue时,我们需要写明issue的原因,最好可以携带编译或运行过程的日志或者截图。issue最好以下面的格式提出:

异常类型:app运行时异常/编译异常

手机型号:如:Nexus 5(如是编译异常,则可以不填)

手机系统版本:如:Android 5.0 (如是编译异常,则可以不填)

Robust版本:如:0.4.99

Gradle版本:如:2.10

系统:如:Windows

堆栈/日志:

如是编译异常,请在执行gradle命令时,加上--stacktrace,并把结果重定向,例如在demo中重定向命令如下:./gradlew clean assembleRelease --stacktrace --no-daemon >log.txt ,结果重定向到当前的目录下的log.txt文件;
日志中我们需要过滤"robust"关键字,可以初步查找问题的大概原因;
Robust提供了sample样例与我们的源码,大家在使用前可以先将样例跑通,如遇任何疑问也欢迎大家提出,更鼓励大家给我们提pr,谢谢大家的支持.

@caotonghuazang
Copy link
Author

异常类型:编译异常

手机型号:

手机系统版本:

Robust版本:0.4.99

Gradle版本:8.0+

系统:Windows

堆栈/日志:

A problem occurred configuring root project 'ehse'.

Could not resolve all artifacts for configuration ':classpath'.
Could not find com.meituan.robust:gradle-plugin:0.4.99-transformer-api.
Searched in the following locations:
- https://maven.aliyun.com/nexus/content/groups/public/com/meituan/robust/gradle-plugin/0.4.99-transformer-api/gradle-plugin-0.4.99-transformer-api.pom
- https://dl.google.com/dl/android/maven2/com/meituan/robust/gradle-plugin/0.4.99-transformer-api/gradle-plugin-0.4.99-transformer-api.pom
- https://jcenter.bintray.com/com/meituan/robust/gradle-plugin/0.4.99-transformer-api/gradle-plugin-0.4.99-transformer-api.pom
- https://repo.maven.apache.org/maven2/com/meituan/robust/gradle-plugin/0.4.99-transformer-api/gradle-plugin-0.4.99-transformer-api.pom
- https://repo1.maven.org/maven2/com/meituan/robust/gradle-plugin/0.4.99-transformer-api/gradle-plugin-0.4.99-transformer-api.pom
- https://jitpack.io/com/meituan/robust/gradle-plugin/0.4.99-transformer-api/gradle-plugin-0.4.99-transformer-api.pom
Required by:
project :

Possible solution:

@wustor
Copy link

wustor commented Dec 20, 2024

我们已经完成了R8的适配,建了一个飞书群,感兴趣的可以加一下飞书交流群

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