Comments (2)
你把出错的代码push上来,我就可以直接调试看出问题了。
fork Shadow到自己名下。然后把改动提交,push上来。不用提MR,我直接去你的版本库里看就行了。
from shadow.
问题找到了,是由于我当前插件依赖了dependOn别的插件,然后当前的父classloader应该是被依赖的插件。而不是宿主,解决办法是在被依赖的插件上面加个宿主的白名单才对。
from shadow.
Related Issues (20)
- 有关webview加载自定义文件路径报错的问题 HOT 4
- 部分机型上Monkey测试报出ShadowPackageItemInfo.loadXmlMetaData中的NPE异常 HOT 4
- 使用PackagePluginDebug打包时 PluginManifest 文件 报错。报错信息是找不到资源文件。这些资源是来自插件中的lib 包下的aar文件内部。 HOT 1
- System.loadLibrary 无法加载插件的 so 文件。
- 宿主app的Actitivity中怎么加载插件中的View
- 嵌套 PreferenceFragmentCompat 导致 java.lang.ClassCastException: cannot be cast to com.tencent.shadow.core.runtime.ShadowActivity HOT 4
- Android 9.0 系统 App abi 获取错误 HOT 1
- 插件App编译失败:inconsistent stack height Index 12 out of bounds for length 12 HOT 4
- manifest中service、receiver等配置的meta-data信息怎么动态设置?
- 关于插件升级问题 HOT 1
- 插件APP切换到后台后再切换回前台,插件和宿主之间插入其他应用的层级关系,导致插件APK无法退回到宿主APK HOT 3
- 插件receiver包含meta-data HOT 1
- 插件使用raw文件无法正常读取到资源 HOT 1
- Resources$NotFoundException: Resource ID #0x0 HOT 1
- 插件App编译失败:inconsistent stack height Index 12 out of bounds for length 12 HOT 8
- 插件加载宿主的Dialog时,无法加载inflate布局 HOT 3
- Could not initialize class com.tencent.shadow.coding.code_generator.ActivityCodeGenerator HOT 3
- startActivity 的问题 HOT 2
- 插件FragmentActivity中调用宿主的DialogFragment,出现因ClassLoader不一致,导致Cast问题
- 测试aidl通信,plugin编译时会报找不到类 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadow.