-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
安装插件后,打开插件activity会出现class not found #450
Comments
ldw5821cn
changed the title
安装插件后,打开插件activity会出现class not
安装插件后,打开插件activity会出现class not found
Jan 9, 2020
感谢你提出的 issue ,根据你的说明我成功解决了问题,现在可以正常跳转插件act |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
排查源码 PluginCallback 的handleLaunchActivity 里有这样的一段逻辑:,发现在替换intent的时候,targetComponentName.getClassName().startsWith("") 这个条件一直为true的情况,因为原来intent里有ClassName,判断startsWith("")一定为true,会执行下面的逻辑
targetIntent.setClassName(targetComponentName.getPackageName(), targetComponentName.getPackageName() + targetComponentName.getClassName());
这样intent里的目标类名会多加一层packageName,导致class 加载失败。
The text was updated successfully, but these errors were encountered: