dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testCompile 'junit:junit:4.12'
compile 'com.fasterxml.jackson.core:jackson-core:2.8.4'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.4'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.4'
testCompile 'junit:junit:4.12'
compile 'com.google.android.gms:play-services-location:11.0.4'
compile 'com.google.android.gms:play-services-maps:11.0.4'
compile 'com.google.android.gms:play-services-ads-lite:11.0.4'
compile 'com.android.support:design:25.3.1'
compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:preference-v14:25.3.1'
}
MobileAds.initialize(getApplicationContext(), getString(R.string.banner_ad_app_id));
AdView mAdView = (AdView) findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder()
.build();
mAdView.loadAd(adRequest);
compile 'com.google.firebase:firebase-ads:11.0.0'
compile 'com.google.android.gms:play-services-ads-lite:11.0.4'
I'm working on a reproducible project.
Also, it's a warning not a crash. The app doesn't crash and I still get ads.
Thank you
--
---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/9Cukd02En9o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-admob-ads...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.