Unity initegration Admob native ad crash app

117 views
Skip to first unread message

Trần Hải

unread,
Jun 3, 2022, 1:05:41 AM6/3/22
to Google Mobile Ads SDK Developers
Hi Admob team,
I got stuck in an issue. I integration native ad to my unity game. It show test ad or live ad ok but when I click to native ad -> my app crash
CRASH LOGS :
2022/06/06 11:02:26.774 27638 27638 Error AndroidRuntime FATAL EXCEPTION: main
2022/06/06 11:02:26.774 27638 27638 Error AndroidRuntime Process: com.xxx.xx.xxx, PID: 27638
2022/06/06 11:02:26.774 27638 27638 Error AndroidRuntime java.lang.NumberFormatException: For input string: "261,7143"
2022/06/06 11:02:26.774 27638 27638 Error AndroidRuntime     at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
2022/06/06 11:02:26.774 27638 27638 Error AndroidRuntime     at sun.misc.FloatingDecimal.parseFloat(FloatingDecimal.java:122)
2022/06/06 11:02:26.774 27638 27638 Error AndroidRuntime     at java.lang.Float.parseFloat(Float.java:451)
2022/06/06 11:02:26.774 27638 27638 Error AndroidRuntime     at com.google.unity.ads.nativeads.UnityNativeAdHandler$1.run(UnityNativeAdHandler.java:56)
2022/06/06 11:02:26.774 27638 27638 Error AndroidRuntime     at android.os.Handler.handleCallback(Handler.java:883)
2022/06/06 11:02:26.774 27638 27638 Error AndroidRuntime     at android.os.Handler.dispatchMessage(Handler.java:100)
2022/06/06 11:02:26.774 27638 27638 Error AndroidRuntime     at android.os.Looper.loop(Looper.java:237)
2022/06/06 11:02:26.774 27638 27638 Error AndroidRuntime     at android.app.ActivityThread.main(ActivityThread.java:7807)
2022/06/06 11:02:26.774 27638 27638 Error AndroidRuntime     at java.lang.reflect.Method.invoke(Native Method)
2022/06/06 11:02:26.774 27638 27638 Error AndroidRuntime     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
2022/06/06 11:02:26.774 27638 27638 Error AndroidRuntime     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1047)
2022/06/06 11:02:27.120 27638 27638 Error memtrack Couldn't load memtrack module

Thanks, 
Looking forward to hear from you. Any help would be appreciated. 

Mobile Ads SDK Forum Advisor

unread,
Jun 3, 2022, 9:47:30 AM6/3/22
to tranha...@gmail.com, google-adm...@googlegroups.com

Hi Trần,

Thank you for reaching out to us.

Can you provide us the following details below so that we can further check this?

  • Sample app project
  • Steps to replicate
  • SDK version
  • Device name and versions affected
  • Complete Stack Trace

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002bbaupQAA&entry.80707362=00109892
2. Fill out all fields, and attach your file(s).
3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


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