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

Jar修改的时候匹配有问题 #26

Open
silentpride opened this issue Jun 27, 2019 · 0 comments
Open

Jar修改的时候匹配有问题 #26

silentpride opened this issue Jun 27, 2019 · 0 comments

Comments

@silentpride
Copy link

调用modifyJarFile的时候,path2Classname有问题。

class文件,路径名是android\arch\core\R.class这种形式,path2Classname的正则用File.separator能替换成android.arch.core.R.class。

但是jar文件,路径名是com/bumptech/glide/BuildConfig.class这种形式,正则里的File.separator就不起效,会导致jar扫描的时候没法匹配到期望的目标类。

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