Skip to content
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

java.lang.ClassNotFoundException: com.huawei.hms.ads.identifier.AdvertisingIdClient #35

Open
dhamelin opened this issue Jul 18, 2024 · 2 comments

Comments

@dhamelin
Copy link

I'm seeing this exception on Android. While using SDK 7.9.1

07-18 16:56:24.727 14411 14723 W System.err: java.lang.ClassNotFoundException: com.huawei.hms.ads.identifier.AdvertisingIdClient
07-18 16:56:24.727 14411 14723 W System.err: at java.lang.Class.classForName(Native Method)
07-18 16:56:24.727 14411 14723 W System.err: at java.lang.Class.forName(Class.java:536)
07-18 16:56:24.727 14411 14723 W System.err: at java.lang.Class.forName(Class.java:467)
07-18 16:56:24.727 14411 14723 W System.err: at com.gameanalytics.sdk.utilities.Reflection.invokeStaticMethod(Reflection.java:64)
07-18 16:56:24.727 14411 14723 W System.err: at com.gameanalytics.sdk.utilities.Reflection.getAdvertisingInfoObject(Reflection.java:16)
07-18 16:56:24.727 14411 14723 W System.err: at com.gameanalytics.sdk.utilities.Reflection.getAdId(Reflection.java:23)
07-18 16:56:24.727 14411 14723 W System.err: at com.gameanalytics.sdk.utilities.GAUtilities.getOAID(GAUtilities.java:254)
07-18 16:56:24.727 14411 14723 W System.err: at com.gameanalytics.sdk.device.GADevice.getOAID(GADevice.java:273)
07-18 16:56:24.727 14411 14723 W System.err: at com.gameanalytics.sdk.state.GAState.getIdentifier(GAState.java:1529)
07-18 16:56:24.727 14411 14723 W System.err: at com.gameanalytics.sdk.state.GAState.ensurePersistedStates(GAState.java:425)
07-18 16:56:24.727 14411 14723 W System.err: at com.gameanalytics.sdk.state.GAState.internalInitialize(GAState.java:1734)
07-18 16:56:24.727 14411 14723 W System.err: at com.gameanalytics.sdk.GameAnalytics$15.execute(GameAnalytics.java:462)
07-18 16:56:24.727 14411 14723 W System.err: at com.gameanalytics.sdk.threading.GAThreading$1.run(GAThreading.java:32)
07-18 16:56:24.727 14411 14723 W System.err: at java.util.TimerThread.mainLoop(Timer.java:563)
07-18 16:56:24.727 14411 14723 W System.err: at java.util.TimerThread.run(Timer.java:513)
07-18 16:56:24.727 14411 14723 W System.err: Caused by: java.lang.ClassNotFoundException: com.huawei.hms.ads.identifier.AdvertisingIdClient

@MehdiMashmool
Copy link

MehdiMashmool commented Jul 20, 2024

I have the same issue

Edit:
also, I upgrade to latest version 7.10.0-beta but issue not fixed.

@cihadturhan
Copy link

Any updates on how to get rid of this warning? I hate seeing it on the logcat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants