showing the missing activity in the android:config changes in android manifest.xml error

285 views
Skip to first unread message

M.TAYYAB MEHMOOD

unread,
Oct 28, 2015, 6:12:15 AM10/28/15
to Google Mobile Ads SDK Developers
hi
i am new to android developing.
i want to integrate the add in the app. so i am facing the above error in the place of the ad.

Vu Chau (MobileAds SDK Team)

unread,
Oct 28, 2015, 4:24:44 PM10/28/15
to Google Mobile Ads SDK Developers
Hi there,

Make sure your AndroidManifest.xml follows the standard structure we have in our sample app here.  Also, if you haven't, check out our Quick Start guide to get up and running.

Vu Chau
Mobile Ads SDK Team

jeremie cohen

unread,
Mar 11, 2016, 8:29:07 AM3/11/16
to Google Mobile Ads SDK Developers
Hello,
i have the same problem and my code is like you adviced. In my app which use google map (google_play_services_lib) i have an error when i put (uiMode,screensize and smallestscreensize in android:configchanges). So i let only keyboard,keyboardhidden, orientation.... but my ads displays "Missing AdActivity with android:configChanges in AndroidManifest.xml".
How i can use admob?
thanks

Vu Chau (Mobile Ads SDK Team)

unread,
Mar 11, 2016, 10:28:38 AM3/11/16
to Google Mobile Ads SDK Developers
Hi Jeremie,

I was able to build an app that contains a map fragment and an AdView (see screenshot).  First, I'd recommend making sure your Gradle dependencies (ads, maps, and Play services) are in the same version number (for example, 8.4.0):

compile 'com.google.android.gms:play-services-ads:8.4.0'
compile 'com.google.android.gms:play-services-maps:8.4.0'
compile 'com.google.android.gms:play-services:8.4.0'
 
Then, leave your configChanges as is (i.e. android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize").  The next steps should be self-explanatory (setting up a map fragment in your layout/code, and requesting the banner and your location).

Let us know if you have any questions,

Vu Chau
Mobile Ads SDK Team

Screenshot_20160311-101244.png
Reply all
Reply to author
Forward
0 new messages