I finally got AdColony to compile and no runtime errors on Android.
But for some odd reason I can’t see any ads after I make a show()
call.
I double checked that my info in sdkbox_config.json is correct.
What can be the cause of this?
Thanks!
Here is my log if it will help maybe:
Capturing and displaying logcat messages from application. This behavior can be disabled in the “Logcat output” section of the “Debugger” settings page.
D/dalvikvm: Late-enabling CheckJNI
D/dalvikvm: Trying to load lib /data/app-lib/com.game.firerise-10/libjs.so 0x41de5668
D/dalvikvm: Added shared lib /data/app-lib/com.game.firerise-10/libjs.so 0x41de5668
No JNI_OnLoad found in /data/app-lib/com.game.firerise-10/libjs.so 0x41de5668, skipping init
Trying to load lib /data/app-lib/com.game.firerise-10/libadcolony.so 0x41de5668
D/dalvikvm: Added shared lib /data/app-lib/com.game.firerise-10/libadcolony.so 0x41de5668
E/AdColony: JNI_OnLoad
D/dalvikvm: Trying to load lib /data/app-lib/com.game.firerise-10/libMyGame.so 0x41de5668
D/dalvikvm: Added shared lib /data/app-lib/com.game.firerise-10/libMyGame.so 0x41de5668
D/main: cocos_android_app_init
D/Cocos2dxHelper: isSupportLowLatency:false
D/Cocos2dxHelper: sampleRate: 44100, framesPerBuffer: 1024
D/Java_org_cocos2dx_lib_Cocos2dxHelper.cpp: nativeSetAudioDeviceInfo: sampleRate: 44100, bufferSizeInFrames: 1024
D/EngineDataManager.cpp: nativeSetSupportOptimization: 0
I/SDKBOX_CORE: Sdkbox Droid starting.
Sdkbox got VM.
Sdkbox jni initialized.
D/SDKBOX_CORE: Loaded 0 tracking info _elements.
D/Cocos2dxActivity: onResume()
D/AudioFocusManager: requestAudioFocus succeed
I/dalvikvm: Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.GooglePlayServicesUtilLight.isUninstalledAppPossiblyUpdating
W/dalvikvm: VFY: unable to resolve virtual method 697: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0012
I/dalvikvm: Could not find method android.content.pm.PackageManager.isInstantApp, referenced from method com.google.android.gms.common.wrappers.PackageManagerWrapper.isCallerInstantApp
W/dalvikvm: VFY: unable to resolve virtual method 702: Landroid/content/pm/PackageManager;.isInstantApp (Ljava/lang/String;)Z
D/dalvikvm: VFY: replacing opcode 0x6e at 0x002d
D/GC: <tid=3065> Vichard print openGL ES version: 2
<tid=3065> OES20 ===> GC Version : GC Ver rls_pxa988_KK44_GC13.30
D/OpenGLRenderer: Enabling debug mode 0
I/Choreographer: Skipped 42 frames! The application may be doing too much work on its main thread.
D/Cocos2dxActivity: onWindowFocusChanged() hasFocus=true
D/GC: <tid=3084> Vichard print openGL ES version: 2
<tid=3084> OES20 ===> GC Version : GC Ver rls_pxa988_KK44_GC13.30
I/Choreographer: Skipped 34 frames! The application may be doing too much work on its main thread.
D/cocos2d-x debug info: {
cocos2d.x.version: cocos2d-x-3.17
cocos2d.x.compiled_with_gl_state_cache: true
gl.supports_S3TC: true
cocos2d.x.build_type: DEBUG
gl.supports_vertex_array_object: false
cocos2d.x.compiled_with_profiler: false
gl.renderer: Vivante GC1000
gl.vendor: Vivante Corporation
gl.version: OpenGL ES 2.0
gl.supports_ATITC: false
gl.supports_ETC1: true
gl.supports_OES_packed_depth_stencil: true
gl.max_texture_units: 12
gl.supports_PVRTC: false
gl.max_texture_size: 8192
gl.supports_NPOT: true
gl.supports_OES_map_buffer: true
gl.supports_OES_depth24: true
gl.supports_discard_framebuffer: true
gl.supports_BGRA8888: false
}
D/EngineDataManager.cpp: setAnimationInterval by game: 0.0222
JNI setAnimationInterval: 0.022222
E/File: fail readDirectory() errno=2
I/SDKBOX_CORE: Initialization request for plugin: ‘com/sdkbox/plugin/PluginAdColony’
I/dalvikvm: Could not find method android.app.Activity.isInMultiWindowMode, referenced from method com.adcolony.sdk.aw.g
W/dalvikvm: VFY: unable to resolve virtual method 69: Landroid/app/Activity;.isInMultiWindowMode ()Z
D/dalvikvm: VFY: replacing opcode 0x6e at 0x000c
D/dalvikvm: Trying to load lib /data/app-lib/com.game.firerise-10/libjs.so 0x41de5668
Shared lib ‘/data/app-lib/com.game.firerise-10/libjs.so’ already loaded in same CL 0x41de5668
Trying to load lib /data/app-lib/com.game.firerise-10/libadcolony.so 0x41de5668
Shared lib ‘/data/app-lib/com.game.firerise-10/libadcolony.so’ already loaded in same CL 0x41de5668
I/AdColony [INFO]: Configuring AdColony
D/dalvikvm: GC_FOR_ALLOC freed 1898K, 30% free 6529K/9312K, paused 25ms, total 25ms
D/AdColony [TRACE]: Requesting AdColony interstitial advertisement.
Requesting AdColony interstitial advertisement.
D/cocos2d-x debug info: create rendererRecreatedListener for GLProgramState
create rendererRecreatedListener for GLProgramState
D/cocos2d-x debug info: create rendererRecreatedListener for GLProgramState
D/EngineDataManager.cpp: setAnimationInterval by engine: 0.0222
JNI setAnimationInterval: 0.022222
D/cocos2d-x debug info: cocos2d: QuadCommand: resizing index size from [-1] to [2560]
D/dalvikvm: GC_FOR_ALLOC freed 2015K, 31% free 6556K/9460K, paused 21ms, total 22ms
D/cocos2d-x debug info: create rendererRecreatedListener for GLProgramState
I/SensorManagerA: getReportingMode :: sensor.mType = 1
D/SensorManager: registerListener :: 0, BMA254, 20000, 0,
D/cocos2d-x debug info: create rendererRecreatedListener for GLProgramState
D/cocos2d-x debug info: create rendererRecreatedListener for GLProgramState
D/cocos2d-x debug info: create rendererRecreatedListener for GLProgramState
D/cocos2d-x debug info: create rendererRecreatedListener for GLProgramState
D/dalvikvm: GC_FOR_ALLOC freed 1988K, 31% free 6607K/9488K, paused 24ms, total 24ms