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
[E][MethodTracer] Failed to trace class:xxx.class, e:java.lang.TypeNotPresentException: Type android/widget/TextView not present #94
Comments
遇到了同样的问题 |
打包加入 --stacktrace 给个完整的堆栈看看 |
一样的问题,编译失败 |
@FutureHere 感谢,可以加入飞书群进行沟通交流,另外我发布了一个测试版本,可以测试验证下 2.0.3-alpha04 |
2.0.3-alpha04还是有报错:
|
我把plugin源码内的try 去掉,抛出这个异常,实际上com/xxx/TestClass类是存在的 看了一下ASM这个方法:getCommonSuperClass,内部竟然使用ClassLoader加载类,jvm环境要加载安卓类当然加载不到,很奇怪。 |
这个问题解决了吗?我也碰到了 |
@FutureHere @binIoter @livelitoday @yiwowang @litongxi8527 我们升级了 2.0.3-rc03 版本尝试解决这个问题,几位可以试下能否解决问题 |
大部分类全部报如标题错误
编译环境:
jdk11
agp4.1
classpath 'com.bytedance.btrace:rhea-gradle-plugin:2.0.3-rc02'
请问如何解决?
The text was updated successfully, but these errors were encountered: