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 
you need include dependency on google play services (or @ least admob portion of it). app doesn't include admob classes.
Comments
Post a Comment