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

360的2.5.4或3.0.0版本宿主是否能加载你的这个plugin的产物? #4

Open
koukoucai opened this issue Jan 2, 2024 · 3 comments

Comments

@koukoucai
Copy link

问题详细描述 Detailed description of the problem

360的2.5.4或3.0.0版本宿主是否能加载你的这个plugin的产物?

复现问题步骤 Steps to reproduce the problem

  1. 用你的RepluginX 打出插件
  2. 用360 2.5.4版本的宿主加载你的插件 是否会存在问题?

其它重要信息 Other important information

replugin-host-lib/gradle Version:2.5.4
rePlugin-plugin-lib/gradle Version:0.0.7

Android API Version:
Android 手机型号&ROM(Phone model & ROM):

Logcat上下文 Logcat context

@GitLqr
Copy link
Owner

GitLqr commented Jan 3, 2024

这种情况我没试过,你可以试试看,理论上应该可以

@koukoucai
Copy link
Author

这种情况我没试过,你可以试试看,理论上应该可以

验证了可以,还有个问题,如果使用classExclude 某些class后打出的产物,再使用这些class是否会报classnotfound?(没有验证过,看你应该是改了Util.grooy里的代码)

@GitLqr
Copy link
Owner

GitLqr commented Jan 9, 2024

我增加 classExclude 是为了裁剪插件apk体积,有些 class 在宿主apk中已经存在,那么插件apk中可以去除,如果你宿主中没有这些 class,插件中又排除掉这些 class,那肯定会 classnofound

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

2 participants