UMP SDK 2.0.0

671 views
Skip to first unread message

fris...@gmail.com

unread,
Jul 17, 2021, 5:28:26 PM7/17/21
to Google Mobile Ads SDK Developers
classpath("com.google.gms:google-services:4.3.8")

+

implementation
("com.google.android.ump:user-messaging-platform:2.0.0")
implementation("com.google.android.gms:play-services-ads:20.2.0")

+

R8 (proguard)

=

    java.lang.VerifyError: Verifier rejected class e.d.b.b.h.f.t1: void e.d.b.b.h.f.t1.run() failed to verify: void e.d.b.b.h.f.t1.run(): [0x70] cannot access instance field e.d.b.b.h.f.z e.d.b.b.h.f.h.b from object of type Reference: java.lang.Object (declaration of 'e.d.b.b.h.f.t1' appears in base.apk)
        at e.d.b.b.h.f.q1.run(com.google.android.ump:user-messaging-platform@@2.0.0:2)
        at e.d.b.b.h.f.x0.execute(com.google.android.ump:user-messaging-platform@@2.0.0:2)
        at e.d.b.b.h.f.p1.run(com.google.android.ump:user-messaging-platform@@2.0.0:17)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)

mapping ->
com.google.android.gms.internal.consent_sdk.zzu -> e.d.b.b.h.f.t1:
com.google.android.gms.internal.consent_sdk.zzbc -> e.d.b.b.h.f.z:
com.google.android.gms.internal.consent_sdk.zzr -> e.d.b.b.h.f.q1:
com.google.android.gms.internal.consent_sdk.zzcc -> e.d.b.b.h.f.x0:
com.google.android.gms.internal.consent_sdk.zzq -> e.d.b.b.h.f.p1:

Mobile Ads SDK Forum Advisor

unread,
Jul 19, 2021, 1:47:19 AM7/19/21
to fris...@gmail.com, google-adm...@googlegroups.com

Hello,

Thank you for reaching out to us.

Could you please provide the following details via Reply privately to author option or send it directly to mobileads...@gmail.com? Kindly inform us on this thread if you sent it directly to the email provided.

  • Sample app where this error occur
  • Steps to replicate
  • Full stack trace

Regards,

Google Logo
Princess Pamela Pineda
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2KdBvI:ref

anonym

unread,
Aug 3, 2021, 12:47:52 PM8/3/21
to Google Mobile Ads SDK Developers

Mobile Ads SDK Forum Advisor

unread,
Aug 3, 2021, 1:55:00 PM8/3/21
to 8he...@gmail.com, google-adm...@googlegroups.com
Hi there,

This may be a different crash. Could you send us privately a project preferably based on our guide with minimum modification that can reliably replicate this issue? Alternatively, you may send this project to our testing alias mobileads...@gmail.com with a post on this thread once you have done so.

Regards,

Google Logo
Aryeh Baker
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2KdBvI:ref

fris...@gmail.com

unread,
Aug 3, 2021, 2:08:39 PM8/3/21
to Google Mobile Ads SDK Developers
This is a rather long task. The problem occurs only when updating sdk from 1.0.0 to 2.0.0 and compiling the release build.

All my code with library

I call after onActivityResult

GdprObject.initGDPR(
activity = requireActivity(),
information = information,
) { showSnackbar(resources.getString(R.string.preference_ads_screen_not_need)) }

вторник, 3 августа 2021 г. в 20:55:00 UTC+3, mobileadssdk:

Mobile Ads SDK Forum Advisor

unread,
Aug 3, 2021, 3:56:11 PM8/3/21
to fris...@gmail.com, google-adm...@googlegroups.com
Hi there,

I tested version 2.0 with proguard enabled and couldn't replicate. For us to investigate we will need steps to take to see this occurring. Could you send us privately a bare bones full project based on our UMP guide that can demonstrate this issue?

fris...@gmail.com

unread,
Aug 23, 2021, 10:00:18 AM8/23/21
to Google Mobile Ads SDK Developers
I used -keep class com.google.android.gms.internal.consent_sdk** for fix.

вторник, 3 августа 2021 г. в 22:56:11 UTC+3, mobileadssdk:

Mobile Ads SDK Forum Advisor

unread,
Aug 23, 2021, 10:41:36 AM8/23/21
to fris...@gmail.com, google-adm...@googlegroups.com
Hi FRIST,

Thank you for the response, based on this it looks like you were able to resolve this issue. As such if you should need any help in the future please do not hesitate to reach back out to us.

Regards,
Google Logo
William Pescherine
Mobiole Ads SDK Team
 


ref:_00D1U1174p._5004Q2KdBvI:ref
Reply all
Reply to author
Forward
0 new messages