Didn't find class "androidx.activity.result.ActivityResultLauncher"

433 views
Skip to first unread message

Dod Mason

unread,
Jun 27, 2023, 2:58:03 AM6/27/23
to Google Mobile Ads SDK Developers
Hello! ads sdk team! I need some help over here.

It's not exactly ads sdk problem but I'm getting these error messages.

weird thing is, It was working fine and I removed plugin here and there boom. now I'm permanently stuck with these errors.

If you can't help me just point me the right direction to solve this cusred thing q_q

2023/06/27 15:33:37.995 17867 17912 Error Unity AndroidJavaException: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/activity/result/ActivityResultLauncher;
2023/06/27 15:33:37.995 17867 17912 Error Unity java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/activity/result/ActivityResultLauncher;
2023/06/27 15:33:37.995 17867 17912 Error Unity at java.lang.reflect.Executable.getParameterTypesInternal(Native Method)
2023/06/27 15:33:37.995 17867 17912 Error Unity at java.lang.reflect.Method.getParameterTypes(Method.java:186)
2023/06/27 15:33:37.995 17867 17912 Error Unity at java.lang.Class.getDeclaredMethods(Class.java:1881)
2023/06/27 15:33:37.995 17867 17912 Error Unity at com.unity3d.player.ReflectionHelper.getMethodID(Unknown Source:26)
2023/06/27 15:33:37.995 17867 17912 Error Unity at com.unity3d.player.UnityPlayerForActivityOrService.nativeRender(Native Method)
2023/06/27 15:33:37.995 17867 17912 Error Unity at com.unity3d.player.L.handleMessage(Unknown Source:140)
2023/06/27 15:33:37.995 17867 17912 Error Unity at android.os.Handler.dispatchMessage(Handler.java:102)
2023/06/27 15:33:37.995 17867 17912 Error Unity at android.os.Looper.loop(Looper.java:205)
2023/06/27 15:33:37.995 17867 17912 Error Unity at com.unity3d.player.O.run(Unknown Source:24)
2023/06/27 15:33:37.995 17867 17912 Error Unity Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.activity.result.ActivityResultLauncher" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.LunariteStudio.W

Mobile Ads SDK Forum Advisor

unread,
Jun 27, 2023, 3:10:34 AM6/27/23
to dak...@gmail.com, google-adm...@googlegroups.com
Hello Dod,

Thank you for reaching out to us.

Please be informed that this support channel can only best assist you with regards to direct Mobile Ads SDK (https://developers.google.com/admob) implementation and technical issues. Having said that, know that we do understand the inconvenience this has brought to you. However, we recommend to reach out instead to other support forums for Unity to address this warning you're receiving.
 
This message is in relation to case "ref:_00D1U1174p._5004Q2mXt0f:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team


Dod Mason

unread,
Jun 27, 2023, 3:11:50 AM6/27/23
to Mobile Ads SDK Forum Advisor, google-adm...@googlegroups.com
Thank you for your response. 
Reply all
Reply to author
Forward
0 new messages