use*_*598 28 obfuscation android proguard
我配置了:
-keep ,allowoptimization,allowobfuscation,allowshrinking public class org.jf.dexlib2.dexbacked.** {
*;
}
Run Code Online (Sandbox Code Playgroud)
但仍然收到警告:
Note: the configuration keeps the entry point 'com.trusteer.trf.dex_parser { int get_strings_count(org.jf.dexlib2.dexbacked.DexBackedDexFile); }', but not the descriptor class 'org.jf.dexlib2.dexbacked.DexBackedDexFile'
Run Code Online (Sandbox Code Playgroud)
我使用的是proguard 4.7版(在Android SDK中)
我该怎么办?
Wil*_*iam 31
你已告诉Proguard保留某种方法,void foo(Bar bar);但要混淆描述符类Bar.
如果要从外部源调用方法,这只是一个问题,因为混淆会改变签名(如果使用Proguard来混淆库,然后在另一个应用程序中使用该库).
所以有以下选择:
配置Proguard也保持Bar.
使用该-dontnote指令告诉Proguard不要打印这样的笔记.
| 归档时间: |
|
| 查看次数: |
17065 次 |
| 最近记录: |