-
Notifications
You must be signed in to change notification settings - Fork 207
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
useCustomCompile开启的时候,修改library里面的代码好像没有生效 #88
Comments
日志里add class有你修改的那个类吗 |
嗯,嗯,没有CommonUtils这个类的add class,但是changed class 好像有一个,日志在下面:
|
sample_org.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
大牛你好,我这边拿sample直接试的。
就改了两个地方:
useCustomCompile = true
和
MainActivity onCreate 里面 tv2.setText(CommonUtils.str);
然后我就去修改CommonUtils.str的值来看是否生效,发现修改CommonUtils.str值之后,还是显示之前的值。
然后我去build里面patch目录下找到class.dex,解开,发现并没有CommonUtils的class在里面,只有CustomView_ViewBinding.class和MainActivity_ViewBinding.class,应该是扫描改动的时候没有扫描到吗?
我这边由于java代码比较多,需要开启useCustomCompile,帮忙看下,谢谢🙏
The text was updated successfully, but these errors were encountered: