Proguard 的配置文件错了
Open
- Dominant language
- C++
- Stars
- 7k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
README.md文件里面Proguard的配置是:
```
-keep class * extends java.lang.annotation.Annotation
-keepclasseswithmembernames class * {
native ;
}
```
这样做,貌似MethodReplace的类名不会混淆,但类的成员函数会被混淆,从而会导致加载patch包时找不到对应的MethodReplace类。
我修改成就OK了。
```
-keep class com.alipay.euler.andfix.** {*;}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Proguard configuration block in README.md and compare it with the reported MethodReplace loading failure. Done means the documented configuration preserves the relevant com.alipay.euler.andfix classes and patch-package loading can find MethodReplace.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100