@energyy wrote:
Hello,
@niteSDKBOXPLAY plugin seems not yet fixed, we againt trying to integrate it, imported/initialized for now app not crashing.
Set in json connect_on_start: true and app crashed:
99/? I/SDKBOX_CORE: Initialization request for plugin: 'com/sdkbox/plugin/PluginSdkboxPlay' 05-03 15:54:27.857 1560-1599/? W/PopupManager: You have not specified a View to use as content view for popups. Falling back to the Activity content view. Note that this may not work as expected in multi-screen environments 05-03 15:54:27.857 1560-1599/? E/sdkboxplay: init native fail 05-03 15:54:27.858 1560-1599/? A/art: art/runtime/thread.cc:1147] No pending exception expected: java.lang.IncompatibleClassChangeError: The method 'boolean com.google.android.gms.common.api.GoogleApiClient.isConnected()' was expected to be of type virtual but instead was found to be of type interface (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar) 05-03 15:54:27.858 1560-1599/? A/art: art/runtime/thread.cc:1147] at void com.sdkbox.plugin.PluginSdkboxPlay.connect() (PluginSdkboxPlay.java:245) 05-03 15:54:27.858 1560-1599/? A/art: art/runtime/thread.cc:1147] at boolean com.sdkbox.plugin.PluginSdkboxPlay.nativeInit(com.sdkbox.plugin.JSON) (PluginSdkboxPlay.java:238) 05-03 15:54:27.858 1560-1599/? A/art: art/runtime/thread.cc:1147] at void org.cocos2dx.lib.Cocos2dxRenderer.nativeInit(int, int) (Cocos2dxRenderer.java:-2) 05-03 15:54:27.858 1560-1599/? A/art: art/runtime/thread.cc:1147] at void org.cocos2dx.lib.Cocos2dxRenderer.onSurfaceCreated(javax.microedition.khronos.opengles.GL10, javax.microedition.khronos.egl.EGLConfig) (Cocos2dxRenderer.java:72) 05-03 15:54:27.858 1560-1599/? A/art: art/runtime/thread.cc:1147] at void android.opengl.GLSurfaceView$GLThread.guardedRun() (GLSurfaceView.java:1500) 05-03 15:54:27.858 1560-1599/? A/art: art/runtime/thread.cc:1147] at void android.opengl.GLSurfaceView$GLThread.run() (GLSurfaceView.java:1239) 05-03 15:54:27.858 1560-1599/? A/art: art/runtime/thread.cc:1147] 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] Runtime aborting... 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] Aborting thread: 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] "GLThread 8362" prio=5 tid=15 Runnable 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] | group="" sCount=0 dsCount=0 obj=0x12c22590 self=0xb4836000 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] | sysTid=1599 nice=0 cgrp=default sched=0/0 handle=0xb362a000 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] | state=R schedstat=( 510503398 197548003 1536 ) utm=45 stm=6 core=0 HZ=100 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] | stack=0xaf198000-0xaf19a000 stackSize=1036KB 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] | held mutexes= "abort lock" "mutator lock"(shared held) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #00 pc 0000484c /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #01 pc 00003031 /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #02 pc 00242f8b /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*, BacktraceMap*)+70) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #03 pc 002276af /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, BacktraceMap*) const+154) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #04 pc 0021765d /system/lib/libart.so (art::AbortState::DumpThread(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, art::Thread*)+24) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #05 pc 002178df /system/lib/libart.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+390) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #06 pc 00217ae1 /system/lib/libart.so (art::Runtime::Abort()+72) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #07 pc 000a654b /system/lib/libart.so (art::LogMessage::~LogMessage()+1322) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #08 pc 002255c9 /system/lib/libart.so (art::Thread::AssertNoPendingException() const+376) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #09 pc 000d6dd3 /system/lib/libart.so (art::ClassLinker::FindClass(art::Thread*, char const*, art::Handle<art::mirror::ClassLoader>)+14) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #10 pc 001cd1ed /system/lib/libart.so (art::JNI::FindClass(_JNIEnv*, char const*)+796) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #11 pc 001fbd83 /data/app/com.funlab.loop-1/lib/arm/libcocos2dcpp.so (_JNIEnv::FindClass(char const*)+6) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #12 pc 001fc0c5 /data/app/com.funlab.loop-1/lib/arm/libcocos2dcpp.so (sdkbox::JNIUtils::GetClassObjectFromName(char const*, _JNIEnv*)+20) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #13 pc 001fc79f /data/app/com.funlab.loop-1/lib/arm/libcocos2dcpp.so (sdkbox::JNIUtils::GetJNIStaticMethodInfo(char const*, char const*, char const*, _JNIEnv*)+26) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #14 pc 001fb1f3 /data/app/com.funlab.loop-1/lib/arm/libcocos2dcpp.so (_ZN6sdkbox15JNIInvokeStaticISsIEEET_PKcS3_DpT0_+30) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #15 pc 001fb359 /data/app/com.funlab.loop-1/lib/arm/libcocos2dcpp.so (sdkbox::SdkboxCore::getChannel() const+12) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #16 pc 001f58a7 /data/app/com.funlab.loop-1/lib/arm/libcocos2dcpp.so (sdkbox::ConfigManager::getConfig(char const*) const+118) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #17 pc 001f59a9 /data/app/com.funlab.loop-1/lib/arm/libcocos2dcpp.so (sdkbox::ConfigManager::isEnabled(std::string const&) const+16) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #18 pc 001f2709 /data/app/com.funlab.loop-1/lib/arm/libcocos2dcpp.so (sdkbox::FacebookWrapper::getInstance()+36) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #19 pc 001f2a97 /data/app/com.funlab.loop-1/lib/arm/libcocos2dcpp.so (sdkbox::PluginFacebook::init()+2) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #20 pc 0018e4e1 /data/app/com.funlab.loop-1/lib/arm/libcocos2dcpp.so (AppDelegate::applicationDidFinishLaunching()+1320) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #21 pc 001fd815 /data/app/com.funlab.loop-1/lib/arm/libcocos2dcpp.so (cocos2d::Application::run()+6) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #22 pc 001fe891 /data/app/com.funlab.loop-1/lib/arm/libcocos2dcpp.so (Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit+104) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] native: #23 pc 0023a86d /data/dalvik-cache/arm/data@app@com.funlab.loop-1@base.apk@classes.dex (Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit__II+88) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] at org.cocos2dx.lib.Cocos2dxRenderer.nativeInit(Native method) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] at org.cocos2dx.lib.Cocos2dxRenderer.onSurfaceCreated(Cocos2dxRenderer.java:72) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1500) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] Pending exception java.lang.IncompatibleClassChangeError thrown by 'unknown throw location' 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] java.lang.IncompatibleClassChangeError: The method 'boolean com.google.android.gms.common.api.GoogleApiClient.isConnected()' was expected to be of type virtual but instead was found to be of type interface (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] at void com.sdkbox.plugin.PluginSdkboxPlay.connect() (PluginSdkboxPlay.java:245) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] at boolean com.sdkbox.plugin.PluginSdkboxPlay.nativeInit(com.sdkbox.plugin.JSON) (PluginSdkboxPlay.java:238) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] at void org.cocos2dx.lib.Cocos2dxRenderer.nativeInit(int, int) (Cocos2dxRenderer.java:-2) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] at void org.cocos2dx.lib.Cocos2dxRenderer.onSurfaceCreated(javax.microedition.khronos.opengles.GL10, javax.microedition.khronos.egl.EGLConfig) (Cocos2dxRenderer.java:72) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] at void android.opengl.GLSurfaceView$GLThread.guardedRun() (GLSurfaceView.java:1500) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] at void android.opengl.GLSurfaceView$GLThread.run() (GLSurfaceView.java:1239) 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] Dumping all threads without appropriate locks held: thread list lock 05-03 15:54:27.888 1560-1599/? A/art: art/runtime/runtime.cc:295] 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: Failed to parse NDK crash data. 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: org.json.JSONException: End of input at character 0 of 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at org.json.JSONTokener.syntaxError(JSONTokener.java:450) 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at org.json.JSONTokener.nextValue(JSONTokener.java:97) 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at org.json.JSONObject.<init>(JSONObject.java:156) 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at org.json.JSONObject.<init>(JSONObject.java:173) 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at com.crashlytics.android.ndk.JsonCrashDataParser.parseCrashEventData(JsonCrashDataParser.java:73) 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at com.crashlytics.android.ndk.CrashlyticsNdk.doInBackground(CrashlyticsNdk.java:117) 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at com.crashlytics.android.ndk.CrashlyticsNdk.doInBackground(CrashlyticsNdk.java:23) 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at io.fabric.sdk.android.InitializationTask.doInBackground(InitializationTask.java:63) 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at io.fabric.sdk.android.InitializationTask.doInBackground(InitializationTask.java:28) 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at io.fabric.sdk.android.services.concurrency.AsyncTask$2.call(AsyncTask.java:311) 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at java.util.concurrent.FutureTask.run(FutureTask.java:237) 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at java.util.concurrent.FutureTask.run(FutureTask.java:237) 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 05-03 15:54:28.293 1560-1602/? E/CrashlyticsNdk: at java.lang.Thread.run(Thread.java:818) 05-03 15:54:29.951 339-950/? D/audio_hw_primary: out_standby: enter: stream (0xb54a53c0) usecase(1: low-latency-playback) 05-03 15:54:29.951 339-950/? D/hardware_info: hw_info_append_hw_type : device_name = speaker 05-03 15:54:30.073 339-950/? W/audio_hw_primary: disable_snd_device: device ref cnt is already 0
Posts: 4
Participants: 2