解决Warning:com.alipay.sdk.sys.b: can't find referenced class com.ta.utdid2.devi
来源:互联网 发布:美业邦软件的弊端 编辑:程序博客网 时间:2024/05/22 07:04
之前我打包混淆的时候有遇到这个问题,不过如果真的有混淆难以解决的也不要怕,因为现在app加固工具非常的多,而且也很稳定不混淆用加固工具也是可以的。
这个问题就是alipay的包不能被依赖,可以现在alipay都是给的jar包,有的你即使跳过jar包不被依赖也是无法解决的。
就是这样:#-libraryjars libs/alipaySingle-20170510.jar有很多人依然无法解决这个问题。没有为什么,因为阿里任性。如果你解决了,那就恭喜你,下面的文章内容可以不用看了。
现在说一下比较靠谱的解决方案:
混淆的时候直接略过Alipay相关的类就可以混淆通过。
#跳过它们不被混淆
-dontwarn com.alipay.**
#保持他们的类不被混淆
-keep class com.alipay.** { *;}
这样可以完美解决这个问题。
阅读全文
3 0
- 解决Warning:com.alipay.sdk.sys.b: can't find referenced class com.ta.utdid2.devi
- Warning:com.alipay.android.phone.mrpc.core.AndroidHttpClient: can't find referenced method 'org.apac
- Warning:com.google.common.base.Absent: can't find referenced class javax.annotation.Nullable
- Warning:can't find referenced class.
- Android 解决java.util.zip.ZipException: duplicate entry: com/ta/utdid2/a/a.class
- com.alipay.apmobilesecuritysdk.face.APSecuritySdk$RunningTask$1: can't find superclass or interface
- 异常处理TransformExcep: java.util.zip.ZipException: duplicate entry: com/ta/utdid2/device/UTDevice.class
- proguard时,出现的Warning:can't find referenced class问题的解决方案
- proguard 提示Warning: can't find referenced field/method '...' in library class ...等问题
- compile Android - 出现Warning:can't find referenced class问题的解决方案
- Warning:org.bouncycastle.jce.provider.X509LDAPCertStoreSpi: can't find referenced class javax
- android代码混淆Warning:okio.DeflaterSink: can't find referenced class
- 解决 can't find referenced pointcut
- 解决微信分享SDK,混淆报错Can't process class [com/tencent/wxop/stat/al.class]
- 解决微信分享SDK,混淆报错Can't process class [com/tencent/wxop/stat/al.class]
- 解决Can't find common super class of [android/app/Application] (with 4 known super classes) and [com/m
- 第三方集成的坑如:java.util.zip.ZipException: duplicate entry: com/ta/utdid2/android/utils/AESUtils.class
- Android代码混淆第三方jar,can't find referenced class的解决
- 控制台输入年份,判断是否为闰年?
- LinkedList源码解析
- 【OI】 自动对拍与已有数据自评测
- Redis 常见 的几种使用场景
- mysql之explain详解(分析索引的最佳使用)
- 解决Warning:com.alipay.sdk.sys.b: can't find referenced class com.ta.utdid2.devi
- Android相机实时自动对焦的完美实现
- 【jzoj5223】【GDOI2018模拟7.12】【B】【矩阵乘法】
- Tomcat MemoryLeak 问题
- 118. Pascal's Triangle
- Spring Boot 日志配置(超详细)
- Opencv 中cv开头的函数和没有cv的区别,例如cvWaitkey()和waitKey()的区别
- 自定义控件之自定义xmlns
- linux c++ 简易聊天室