We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用replugin-simple中的代码,直接跑能正常跳转到DemoCodeFragment。 然后,加入我自己写的personPlugin.jar,进行Fragment跳转,抛出异常。
打包personPlugin.jar放入assets
修改PluginFragmentActivity中代码
3.运行,跳转抛出异常。
replugin-host-lib/gradle Version:2.2.1 rePlugin-plugin-lib/gradle Version:2.2.1
Android API Version: Android 手机型号&ROM(Phone model & ROM):
The text was updated successfully, but these errors were encountered:
可以在宿主中添加一个EmptyFragment类,把这个类打包成jar,再在插件中provider这个jar包,插件中的Fragment继承EmptyFragment,可以解决这个问题
Sorry, something went wrong.
能在具体点吗 我现在是创建一个module,里面有个emptyfragment,把这个module打成jar包,provide给插件,还是显示ClassCastException。
具体可参照FAQ:https://github.com/Qihoo360/RePlugin/wiki/FAQ
No branches or pull requests
问题详细描述 Detailed description of the problem
使用replugin-simple中的代码,直接跑能正常跳转到DemoCodeFragment。
然后,加入我自己写的personPlugin.jar,进行Fragment跳转,抛出异常。
复现问题步骤 Steps to reproduce the problem
打包personPlugin.jar放入assets
![image](https://user-images.githubusercontent.com/7427087/34369765-be9fa1d2-eaf9-11e7-95c2-03f21b4a5502.png)
修改PluginFragmentActivity中代码
![image](https://user-images.githubusercontent.com/7427087/34369803-05e706e8-eafa-11e7-95dd-9e4dc22ea2fb.png)
3.运行,跳转抛出异常。
![image](https://user-images.githubusercontent.com/7427087/34369813-1397c0f2-eafa-11e7-8836-271d43fc3f30.png)
其它重要信息 Other important information
replugin-host-lib/gradle Version:2.2.1
rePlugin-plugin-lib/gradle Version:2.2.1
Android API Version:
Android 手机型号&ROM(Phone model & ROM):
Logcat上下文 Logcat context
The text was updated successfully, but these errors were encountered: