Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17103

Sdkboxads - various random crashes and inconsistencies on Android

$
0
0

@rob_type25 wrote:

Hi there

Using Cocos2dx 3.1 and the latest versions of sdkboxads (adcolony & chartboost).

Having a whale of a time with getting sdkboxads working consistently on Android. On iOS it seems to be very stable, Android not so much.

So far i've tried;

  • Adcolony and chartboost separately without sdkboxads
  • Using sdkboxads and placements

Both of those methods work fine on iOS.

I'm getting random crashes on Android, sometimes it crashes as soon as the app starts, sometimes it let's me get a bit further and request an ad then crashes, sometimes it even plays an ad but then crashes, on occassion it works but then doesn't call the events.

It feels like it's very flacky, is anyone else having any of these problems?

If i disable the ads code (and i'm using 2 lines of code, one to init the ads and one to play them) the app runs without any issues so i'm 99.9% sure it's down to the sdkboxads plugin.

A snippet of logcat (this happens a lot 5 seconds (ish) after the app starts)

05-11 17:47:25.097  15993-16077/com.test.app D/Posix﹕ [Posix_connect Debug]Process com.test.app :80
    05-11 17:47:25.100  15993-16009/com.test.app V/SoundPool-JNI﹕ android_media_SoundPool_SoundPoolImpl_autoResume
    05-11 17:47:25.100  15993-16009/com.test.app V/SoundPool﹕ autoResume()
    05-11 17:47:25.101  15993-16009/com.test.app D/SdkboxAds﹕ PluginSdkboxAds onAdAction: unit:'Chartboost' zone:'Default' action:'LOADED' extras:'false'
    05-11 17:47:25.103  15993-16009/com.test.app E/dalvikvm﹕ JNI ERROR (app bug): attempt to use stale local reference 0x24600011
    05-11 17:47:25.103  15993-16009/com.test.app E/dalvikvm﹕ VM aborting
    05-11 17:47:25.103  15993-16009/com.test.app A/libc﹕ Fatal signal 6 (SIGABRT) at 0x00003e79 (code=-6), thread 16009 (Thread-656)
    05-11 17:47:25.103  15993-16009/com.test.app A/libc﹕ Send stop signal to pid:15993 in void debuggerd_signal_handler(int, siginfo_t*, void*)

Tearing my hair out after spending a good 4-5 hours trying a lot of stuff to get this working, hoping somebody can shed some light?

Many thanks
Rob

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17103

Trending Articles