Tencent / Shadow

零反射全动态Android插件框架
BSD 3-Clause "New" or "Revised" License
7.47k stars 1.31k forks source link

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

Open LeonWu6 opened 5 months ago

LeonWu6 commented 5 months ago

您好!

将插件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 commented 5 months ago

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

RayTigerZ commented 4 days ago

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