Giter Club home page Giter Club logo

Comments (11)

GuoLiangjun123 avatar GuoLiangjun123 commented on July 4, 2024 1

AdvertisingIdClient

对比了下混淆配置,应该是漏掉了-keep class com.hihonor.ads.** {; } 和 -keep interface com.huawei.hms.** {;}

from android_cn_oaid.

liyujiang-gzu avatar liyujiang-gzu commented on July 4, 2024

No implementation found for boolean com.hihonor.ads.identifier.AdvertisingIdClient.isAdvertisingIdAvailable说明荣耀的SDK没打包进去,是不是安全联盟的oaid没依赖到了荣耀的SDK?

from android_cn_oaid.

GuoLiangjun123 avatar GuoLiangjun123 commented on July 4, 2024

No implementation found for boolean com.hihonor.ads.identifier.AdvertisingIdClient.isAdvertisingIdAvailable说明荣耀的SDK没打包进去,是不是安全联盟的oaid没依赖到了荣耀的SDK?

我们直接在安全联盟官网上下载的oaid的aar,这个我们怎么验证是否依赖了荣耀sdk

from android_cn_oaid.

godcop avatar godcop commented on July 4, 2024

AdvertisingIdClient

对比了下混淆配置,应该是漏掉了-keep class com.hihonor.ads.** {; } 和 -keep interface com.huawei.hms.** {;}

问题解决了吗?

from android_cn_oaid.

GuoLiangjun123 avatar GuoLiangjun123 commented on July 4, 2024

AdvertisingIdClient

对比了下混淆配置,应该是漏掉了-keep class com.hihonor.ads.** {; } 和 -keep interface com.huawei.hms.** {;}

问题解决了吗?

发版待验证

from android_cn_oaid.

liyujiang-gzu avatar liyujiang-gzu commented on July 4, 2024

AdvertisingIdClient

对比了下混淆配置,应该是漏掉了-keep class com.hihonor.ads.** {; } 和 -keep interface com.huawei.hms.** {;}

本库模块专用的混淆规则(注:“repeackage”拼写是历史遗留问题)

-keep class repeackage.com.uodis.opendevice.aidl.** { ; }
-keep interface repeackage.com.uodis.opendevice.aidl.
* { ; }
-keep class repeackage.com.asus.msa.SupplementaryDID.
* { ; }
-keep interface repeackage.com.asus.msa.SupplementaryDID.
* { ; }
-keep class repeackage.com.bun.lib.
* { ; }
-keep interface repeackage.com.bun.lib.
* { ; }
-keep class repeackage.com.heytap.openid.
* { ; }
-keep interface repeackage.com.heytap.openid.
* { ; }
-keep class repeackage.com.samsung.android.deviceidservice.
* { ; }
-keep interface repeackage.com.samsung.android.deviceidservice.
* { ; }
-keep class repeackage.com.zui.deviceidservice.
* { ; }
-keep interface repeackage.com.zui.deviceidservice.
* { ; }
-keep class repeackage.com.coolpad.deviceidsupport.
* { ; }
-keep interface repeackage.com.coolpad.deviceidsupport.
* { ; }
-keep class repeackage.com.android.creator.
* { ; }
-keep interface repeackage.com.android.creator.
* { ; }
-keep class repeackage.com.google.android.gms.ads.identifier.internal.
* { ; }
-keep interface repeackage.com.google.android.gms.ads.identifier.internal.
{ ; }
-keep class repeackage.com.oplus.stdid.
* {; }
-keep interface repeackage.com.oplus.stdid.** {
; }
-keep class com.huawei.hms.ads.** {; }
-keep interface com.huawei.hms.ads.** {
; }
-keep class com.hihonor.ads.** {; }
-keep interface com.hihonor.ads.** {
; }
-keep class repeackage.com.qiku.id.** { ; }
-keep interface repeackage.com.qiku.id.
* { *; }

from android_cn_oaid.

GuoLiangjun123 avatar GuoLiangjun123 commented on July 4, 2024

AdvertisingIdClient

对比了下混淆配置,应该是漏掉了-keep class com.hihonor.ads.** {; } 和 -keep interface com.huawei.hms.** {;}

本库模块专用的混淆规则(注:“repeackage”拼写是历史遗留问题)

-keep class repeackage.com.uodis.opendevice.aidl.** { ; } -keep interface repeackage.com.uodis.opendevice.aidl.* { ; } -keep class repeackage.com.asus.msa.SupplementaryDID.* { ; } -keep interface repeackage.com.asus.msa.SupplementaryDID.* { ; } -keep class repeackage.com.bun.lib.* { ; } -keep interface repeackage.com.bun.lib.* { ; } -keep class repeackage.com.heytap.openid.* { ; } -keep interface repeackage.com.heytap.openid.* { ; } -keep class repeackage.com.samsung.android.deviceidservice.* { ; } -keep interface repeackage.com.samsung.android.deviceidservice.* { ; } -keep class repeackage.com.zui.deviceidservice.* { ; } -keep interface repeackage.com.zui.deviceidservice.* { ; } -keep class repeackage.com.coolpad.deviceidsupport.* { ; } -keep interface repeackage.com.coolpad.deviceidsupport.* { ; } -keep class repeackage.com.android.creator.* { ; } -keep interface repeackage.com.android.creator.* { ; } -keep class repeackage.com.google.android.gms.ads.identifier.internal.* { ; } -keep interface repeackage.com.google.android.gms.ads.identifier.internal. { ; } -keep class repeackage.com.oplus.stdid.* {; } -keep interface repeackage.com.oplus.stdid.** {; } -keep class com.huawei.hms.ads.** {; } -keep interface com.huawei.hms.ads.** {; } -keep class com.hihonor.ads.** {; } -keep interface com.hihonor.ads.** {; } -keep class repeackage.com.qiku.id.** { ; } -keep interface repeackage.com.qiku.id.* { *; }

荣耀手机还是崩溃,必先,并且是debug版本没开混淆
荣耀崩溃

from android_cn_oaid.

liyujiang-gzu avatar liyujiang-gzu commented on July 4, 2024

这种情况,要么是没把荣耀的SDK作为运行时依赖进去,要么就是混淆后找不到类。看一下荣耀的SDK依赖项是否下载到了

from android_cn_oaid.

GuoLiangjun123 avatar GuoLiangjun123 commented on July 4, 2024

这种情况,要么是没把荣耀的SDK作为运行时依赖进去,要么就是混淆后找不到类。看一下荣耀的SDK依赖项是否下载到了

咋验证呢

from android_cn_oaid.

liyujiang-gzu avatar liyujiang-gzu commented on July 4, 2024

这种情况,要么是没把荣耀的SDK作为运行时依赖进去,要么就是混淆后找不到类。看一下荣耀的SDK依赖项是否下载到了

咋验证呢

反编译APK,看里面有没有荣耀SDK相关类

from android_cn_oaid.

liyujiang-gzu avatar liyujiang-gzu commented on July 4, 2024

参阅 #86

from android_cn_oaid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.