NoSuchMethodError on Android AdMob method

Pororboks

New Member
I don't understand what's happening. My manifest does have the proper adactivity and the app works fine locally. I'm setting up my banner ads completely in Java because they were giving me trouble in XML. I've got the latest AdMob SDK in the libs folder, I tried compiling without ProGuard to see if that was causing anything but something is happening in other devices that isn't affecting mine. I know I can cover up the problem with try/catch/finally but I'd like to fix the root cause. Users are reporting crashes with this stack trace (from the Google Play Store):\[code\] java.lang.NoSuchMethodError: com.google.ads.AdView.setYat org.trepix.sda.adultlesson.MainMenu.onCreate(MainMenu.java:53)at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1613)at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1665)at android.app.ActivityThread.access$1500(ActivityThread.java:118)at android.app.ActivityThread$H.handleMessage(ActivityThread.java:933)at android.os.Handler.dispatchMessage(Handler.java:99)at android.os.Looper.loop(Looper.java:130)at android.app.ActivityThread.main(ActivityThread.java:3686)at java.lang.reflect.Method.invokeNative(Native Method)at java.lang.reflect.Method.invoke(Method.java:507)at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:878)at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)at dalvik.system.NativeStart.main(Native Method)\[/code\]
 
Back
Top