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

大佬,我按照你的视频和 demo 集成,最后加载插件的时候报错了,能不能帮忙看看 #1

Open
1216845248 opened this issue Jan 24, 2024 · 0 comments

Comments

@1216845248
Copy link

---------------------------- PROCESS STARTED (10648) for package com.ytkj.gsoms ----------------------------
2024-01-24 17:32:02.280 10648-10648 MtkSystemS...ceRegistry com.ytkj.gsoms E Exception while getting FmRadioPackageManager class
2024-01-24 17:32:03.005 10648-10648 libc com.ytkj.gsoms E Access denied finding property "ro.vendor.pref_scale_resolution"
2024-01-24 17:32:03.254 10612-10643 AndroidRuntime com.ytkj.gsoms E FATAL EXCEPTION: pool-3-thread-1
Process: com.ytkj.gsoms, PID: 10612
java.lang.RuntimeException: java.lang.IllegalStateException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.ClassCastException: Cannot cast androidx.core.app.CoreComponentFactory to com.tencent.shadow.core.runtime.ShadowAppComponentFactory
at com.ytkj.gsoms.pluginmanager.GsomsPluginManager$1.run(GsomsPluginManager.java:112)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
Caused by: java.lang.IllegalStateException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.ClassCastException: Cannot cast androidx.core.app.CoreComponentFactory to com.tencent.shadow.core.runtime.ShadowAppComponentFactory
at android.os.Parcel.createExceptionOrNull(Parcel.java:2381)
at android.os.Parcel.createException(Parcel.java:2357)
at android.os.Parcel.readException(Parcel.java:2340)
at android.os.Parcel.readException(Parcel.java:2282)
at com.tencent.shadow.dynamic.manager.BinderPluginLoader.loadPlugin(BinderPluginLoader.java:50)
at com.ytkj.gsoms.pluginmanager.FastPluginManager.loadPlugin(FastPluginManager.java:121)
at com.ytkj.gsoms.pluginmanager.GsomsPluginManager$1.run(GsomsPluginManager.java:95)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 
at java.lang.Thread.run(Thread.java:923) 

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

1 participant