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

升级com.google.android.material:material到1.11.0后编译报错 #1332

Open
LeonWu6 opened this issue Jun 10, 2024 · 2 comments
Open

升级com.google.android.material:material到1.11.0后编译报错 #1332

LeonWu6 opened this issue Jun 10, 2024 · 2 comments

Comments

@LeonWu6
Copy link

LeonWu6 commented Jun 10, 2024

您好!

将插件APP的
com.google.android.material:material:1.6.0
升级到
com.google.android.material:material:1.11.0
后,出现下面的编译报错:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':CellularApp:pluginReleaseShadowTransform'.
> javassist.CannotCompileException: [source error] getPackageInfo(java.lang.ClassLoader,java.lang.String,android.content.pm.PackageManager$PackageInfoFlags) not found in com.tencent.shadow.core.runtime.PackageManagerInvokeRedirect

请问您知道这是什么原因吗?

@LeonWu6
Copy link
Author

LeonWu6 commented Jun 11, 2024

@shifujun 您好,近期可否抽空帮忙看看这个问题?

@RayTigerZ
Copy link

我们也遇到了相同的问题,应该是目前shadow不支持新版本的AndroidX

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