Unity Mediation With Unity Service and Admob Error to build

260 views
Skip to first unread message

Rayos

unread,
Aug 20, 2019, 12:04:54 PM8/20/19
to Google Mobile Ads SDK Developers
Hello
If I have a project of Unity version 2018.

And i include Admob + UnityAds service + Unity Monetization + Unity Admob mediation

I can't build an apk for Android

Can'tInternal or Grandle both fail.

Mobile Ads SDK Forum Advisor Prod

unread,
Aug 21, 2019, 3:35:53 PM8/21/19
to guroso...@gmail.com, google-adm...@googlegroups.com
Hello there,

Can you please take a look at our sample apps and try with the latest version of the SDK and plugin following our Guides and see if you are able to resolve the issue? If you are still stuck with your issue, please share a sample project with your implementation so that we can take a look and assist you further. You can use "Reply Privately to Author" option to share the details privately.

Regards,
Deepika Uragayala
Mobile Ads SDK Team

 

ref:_00D1U1174p._5001UHE7Hf:ref

Mobile Ads SDK Forum Advisor Prod

unread,
Aug 21, 2019, 5:43:17 PM8/21/19
to guroso...@gmail.com, google-adm...@googlegroups.com
Hello there,


please share a sample project with your implementation so that we can take a look and assist you further. You can use "Reply Privately to Author" option to share the details privately.

Rayos

unread,
Aug 22, 2019, 2:40:08 PM8/22/19
to Google Mobile Ads SDK Developers
Oh I attach here my project

Unity version 218.2.f1
Android
Google Ads 3.18.3
Unity Services (ads)
Unity Monetization: 3.2.0
Unity Admob Mediation 2.0.3

No scripts, just importas and build.

Error Internal
Erro Grandle

Mobile Ads SDK Forum Advisor Prod

unread,
Aug 22, 2019, 4:10:01 PM8/22/19
to guroso...@gmail.com, google-adm...@googlegroups.com

Hello there,

Thank you for the sample app. I was able to notice the build error. However, can you try to rebuild without the Mobile Ads SDK and check if there is any issue? It might be coming from other plugins. Check with each plugin separately and build to see if it's causing this error and debug from there.



Regards,
Deepika Uragayala
Mobile Ads SDK Team


 

ref:_00D1U1174p._5001UHE7Hf:ref

Rayos

unread,
Aug 22, 2019, 6:02:49 PM8/22/19
to Google Mobile Ads SDK Developers

The problem is between Unity Ads mediation (Bridge):
LINK:

And Unity Ads Service.

If I active Both I have the error. With Grandle or Internal.
But I prefer build in Grandle.. for Play Store.

Here  I leave the .txt of error

But I repeat the problem is when I use both puglins...But I don't know why :S
Editor.log

Syed Muhammad Umair

unread,
Aug 23, 2019, 1:51:52 AM8/23/19
to Google Mobile Ads SDK Developers
You don't have to use both plugins. Since, when you mediate with admob, it will import Unity JARs or AARs as well to use for it's internal mediation logic. And when you will use separate Unity Ads package it will add it's own JARs or AARs too and as a result they both will collide with each other.

Solution: Either use one of them or identify duplicate JARs or AARs and remove one of them.

Rayos

unread,
Aug 23, 2019, 4:25:27 AM8/23/19
to Google Mobile Ads SDK Developers
I was finding what JARS and ArARs are duplicated but I dont' find anything :S. I spent 2 hours checking my proect but I dind't solved :S

And I have to use both plugins because I need active services of UnityAds to can have ads from there 

Mobile Ads SDK Forum Advisor Prod

unread,
Aug 23, 2019, 3:37:08 PM8/23/19
to guroso...@gmail.com, google-adm...@googlegroups.com
Hello there,

Let me take a look into this and I will provide you with a sample app and get back to asap. 

Regards,
Deepika Uraayala

Rayos

unread,
Aug 26, 2019, 6:28:53 AM8/26/19
to Google Mobile Ads SDK Developers

Ok,
I'm still waiting. I hope you can solve my problem :D
Reply all
Reply to author
Forward
0 new messages