android - ViewPager and AdMob together shows error -


i creating application android.support.v4.view.viewpager , admob.

my heap size -xms1024m -xmx1024m

app work if use both separately, integrated get:

caused by: java.lang.classnotfoundexception: didn't find class "com.google.android.gms.ads.adview" on path: dexpathlist[[zip file "/data/app/info.androidhive.imageslider-2.apk"],nativelibrarydirectories=[/data/app-lib/info.androidhive.imageslider-2, /vendor/lib, /system/lib]]

app properties enter image description here

you need include dependency on google play services (or @ least admob portion of it). app doesn't include admob classes.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -