I am getting this error in logs and the app crashes:
15:53:22.518: A/libc(25934): Fatal signal 11 (SIGSEGV) at 0x00000008 (code=1), thread 25934 (s.testapp)
The error fired when:
- I press/tap/slide over the admob banner.
- Turn the mobile from landscape to portrait and viceversa.
- Tap/press/slide fingers over the app (outside the banner).
I am using SDK GoogleAdMobAdsSdk-6.4.1 with Phonegap 3.0 on Android 4.1.2, I know is admob because when I disable it, the problem is gone.
Here is the code:
adView = new AdView(this, AdSize.BANNER, "xxxxxx");
LinearLayout layout = super.root;
layout.addView(adView);
layout.setHorizontalGravity(android.view.Gravity.CENTER_HORIZONTAL);
AdRequest request = new AdRequest();
//request.addTestDevice(AdRequest.TEST_EMULATOR);
adView.loadAd(request);