We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Caused by: java.lang.ClassNotFoundException: Didn't find class "tech.linjiang.pandora.core.R$drawable"
当升级到 Android Studio gradle build tools 3.6 直接运行到手机上,无法启动, 此类错误在realm的issues中也找到类似的了,人家已经解决了, 参考连接:realm/realm-java#6531 参考连接:https://issuetracker.google.com/issues/130965921#comment14
The text was updated successfully, but these errors were encountered:
你好,谢谢指出。不过我这边修改为 gradle:5.6.4 和 AGP: 3.6.2 后编译的 apk 没有出现这个问题,而且结合贴出的 参考链接 的说法,看日志输出 R.jar 也有被正确处理到。
gradle:5.6.4
AGP: 3.6.2
R.jar
请问你使用的 gradle 和 AGP 的具体版本是多少呢?或者会不会是项目里其它三方 transform-plugin 引起的,只要有一个 plugin 没有正确处理,生成的 apk 就会出问题。
gradle
AGP
Sorry, something went wrong.
No branches or pull requests
Caused by: java.lang.ClassNotFoundException: Didn't find class "tech.linjiang.pandora.core.R$drawable"
当升级到 Android Studio gradle build tools 3.6 直接运行到手机上,无法启动,
此类错误在realm的issues中也找到类似的了,人家已经解决了,
参考连接:realm/realm-java#6531
参考连接:https://issuetracker.google.com/issues/130965921#comment14
The text was updated successfully, but these errors were encountered: