Unable to resolve dependency com.google.ads.mediation:inmobi:6.2.0.0

230 views
Skip to first unread message

Om Developers

unread,
Nov 2, 2017, 6:04:19 AM11/2/17
to Google Mobile Ads SDK Developers
i am implementing Admob mediation in my application details are here when i trying to add inmobi in cause the below error for adding compile 'com.google.ads.mediation:inmobi:6.2.0.0'in gradle dependencies

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.ads.mediation:inmobi:6.2.0.0.

Could not resolve com.google.ads.mediation:inmobi:6.2.0.0.
Required by:
    project :app
 > No cached version of com.google.ads.mediation:inmobi:6.2.0.0 available for offline mode.
dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.android.support:support-v13:26.1.0'
    compile 'com.android.support:recyclerview-v7:26.1.0'
    compile 'com.google.android.gms:play-services-ads:11.4.2'
    compile 'com.google.android.gms:play-services-location:11.4.2'
    compile 'com.google.android.gms:play-services-gcm:11.4.2'
    compile('com.vungle:publisher-sdk-android:5.3.0@aar') {
        transitive=true
    }
    compile 'com.google.ads.mediation:vungle:5.3.0.0'
    compile 'com.inmobi.monetization:inmobi-ads:6.2.0'
    compile 'com.google.ads.mediation:inmobi:6.2.0.0'
}
there is also option for manual integration link for get the adapter file but there is no such adapter with same version

Bharani Cherukuri (Mobile Ads SDK Team)

unread,
Nov 2, 2017, 3:36:02 PM11/2/17
to Google Mobile Ads SDK Developers
Hi there, 

Thank you for contacting us. Your code snippets look fine. That said, can you make sure that you have integrated both the InMobi SDK and Adapter as mentioned here? You will have to add both the SDK and Adapter to the Assets > Plugins > Android > GoogleMobileAdsPlugin > libs folder. Let me know how it goes. If you continue to have an issue with this, can you provide us the sample project of your implementation so I can take a look and assist you further?

Regards,
Bharani Cherukuri
Mobile Ads SDK Team

Om Developers

unread,
Nov 2, 2017, 11:36:12 PM11/2/17
to Google Mobile Ads SDK Developers
thank you for reply,can you please mention how can i add SDK and Adapter to the Assets > Plugins > Android > GoogleMobileAdsPlugin > libs folder.i am little bit confused about it,you have any instruction for it.
i have also discussed same thing with  Inmobi support team they have suggested to integrate based on this,and get the adapter from here.

rolling.b...@gmail.com

unread,
Dec 11, 2018, 12:33:40 PM12/11/18
to Google Mobile Ads SDK Developers
Hi Mobile Ads SDK Team, 

While importing adcolony mediation adapter, I also are error message: "Failed to resolve: com.google.ads.mediation:adcolony:3.3.6.0"

Note: I have manually created folder  Assets > Plugins > Android > GoogleMobileAdsPlugin > libs, and have placed the sdk jar file in it.

Please advise how can we resolve it?

Thanks

mobileadssdk-a...@google.com

unread,
Dec 11, 2018, 4:52:44 PM12/11/18
to rolling.b...@gmail.com, Google Mobile Ads SDK Developers
Hello, 

Thank you for contacting us. Can you make sure that you imported the AdColony SDK and Adapter by following the steps mentioned in this guide? Can you give this a try and let me know if you have any issues?

Regards,
Bharani Cherukuri
Mobile Ads SDK Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Reply all
Reply to author
Forward
0 new messages