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

关于旧版Xposed的兼容建议 #33

Open
yihongyuelan opened this issue Jun 24, 2020 · 0 comments
Open

关于旧版Xposed的兼容建议 #33

yihongyuelan opened this issue Jun 24, 2020 · 0 comments

Comments

@yihongyuelan
Copy link

问题:
在旧版手机(Android 5.1.1)和旧版xposed(version 80)上无法正常执行,提示"java.lang.NoSuchMethodError: No static method findClassIfExists(Ljava/lang/String;Ljava/lang/ClassLoader;)"

分析:
在旧版XposedBridge的XposedHelpers类中,没有findClassIfExists这个方法,而findClassIfExists这个方法实际上只是对findClass多了一层try catch而已

建议:
在xposedmodule的PackerInfo.kt#L83建议直接使用findClass,代码里面加上try catch即可

BR

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