Eclipse打包完了,模拟器闪退

07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: JNI NewStringUTF called with pending exception ‘java.lang.RuntimeException’ thrown in unknown throw location
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] in call to NewStringUTF
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] from void org.cocos2dx.lib.Cocos2dxRenderer.nativeRender()
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] “GLThread 379” prio=5 tid=20 Runnable
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] | group=“main” sCount=0 dsCount=0 obj=0x12c247f0 self=0xb3ef9400
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] | sysTid=9414 nice=0 cgrp=default sched=0/0 handle=0xb3c58700
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] | state=R schedstat=( 2494765437 1519020884 6051 ) utm=141 stm=108 core=0 HZ=100
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] | stack=0xa1916000-0xa1918000 stackSize=1036KB
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] | held mutexes= “mutator lock”(shared held)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] native: #00 pc 00005d03 /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+83)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] native: #01 pc 00003051 /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+33)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] native: #02 pc 003e0477 /system/lib/libart.so (???)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] native: #03 pc 003a97c2 /system/lib/libart.so (???)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] native: #04 pc 00108eab /system/lib/libart.so (???)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] native: #05 pc 00109a8c /system/lib/libart.so (???)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] native: #06 pc 0010fb53 /system/lib/libart.so (???)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] native: #07 pc 00110332 /system/lib/libart.so (???)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] native: #08 pc 001146eb /system/lib/libart.so (???)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] native: #09 pc 001a5f56 /system/lib/libhoudini.so (???)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] native: #10 pc 001976a4 /system/lib/libhoudini.so (???)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] native: #11 pc 001bda74 /system/lib/libhoudini.so (???)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] native: #12 pc 000077ab /system/lib/libart.so (???)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] at org.cocos2dx.lib.Cocos2dxRenderer.nativeRender(Native method)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] at org.cocos2dx.lib.Cocos2dxRenderer.onDrawFrame(Cocos2dxRenderer.java:104)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1522)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65] at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)
07-13 16:16:47.559: A/art(9378): art/runtime/check_jni.cc:65]
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] Runtime aborting…
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] Aborting thread:
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] “GLThread 379” prio=5 tid=20 Native
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | group="" sCount=0 dsCount=0 obj=0x12c247f0 self=0xb3ef9400
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | sysTid=9414 nice=0 cgrp=default sched=0/0 handle=0xb3c58700
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | state=R schedstat=( 2501733604 1523294421 6061 ) utm=141 stm=109 core=0 HZ=100
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | stack=0xa1916000-0xa1918000 stackSize=1036KB
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | held mutexes= “abort lock” “mutator lock”(shared held)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #00 pc 00005d03 /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+83)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #01 pc 00003051 /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+33)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #02 pc 003e0477 /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #03 pc 003a97c2 /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #04 pc 0038e01f /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #05 pc 0038e40d /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #06 pc 000f2bf4 /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #07 pc 00109143 /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #08 pc 00109a8c /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #09 pc 0010fb53 /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #10 pc 00110332 /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #11 pc 001146eb /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #12 pc 001a5f56 /system/lib/libhoudini.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #13 pc 001976a4 /system/lib/libhoudini.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #14 pc 001bda74 /system/lib/libhoudini.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #15 pc 000077ab /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at org.cocos2dx.lib.Cocos2dxRenderer.nativeRender(Native method)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at org.cocos2dx.lib.Cocos2dxRenderer.onDrawFrame(Cocos2dxRenderer.java:104)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1522)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] Pending exception java.lang.RuntimeException thrown by ‘unknown throw location’
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] java.lang.RuntimeException: Can’t create handler inside thread that has not called Looper.prepare()
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at void android.os.Handler.(android.os.Handler$Callback, boolean) (Handler.java:200)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at void android.os.Handler.() (Handler.java:114)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at void android.app.Dialog.(android.content.Context, int, boolean) (Dialog.java:108)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at void android.app.AlertDialog.(android.content.Context, int, boolean) (AlertDialog.java:125)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at android.app.AlertDialog android.app.AlertDialog$Builder.create() (AlertDialog.java:973)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at android.app.AlertDialog android.app.AlertDialog$Builder.show() (AlertDialog.java:992)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at void com.s.plugin.platform.SPlatformWrapper.O() (SPlatformWrapper.java:295)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at void com.s.plugin.platform.SPlatformWrapper.M() (SPlatformWrapper.java:98)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at void com.s.plugin.platform.a.a.a(android.app.Activity) (SBasePlatform.java:104)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at void com.s.core.plugin.b.a(android.app.Activity) (SPluginManager.java:114)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at void com.sy.framework.SYSDK.init(android.app.Activity, java.util.Map) (SYSDK.java:40)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at void org.cocos2dx.lua.AppHelper.sdkInit() (AppHelper.java:636)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at void org.cocos2dx.lib.Cocos2dxRenderer.nativeRender() (Cocos2dxRenderer.java:-2)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at void org.cocos2dx.lib.Cocos2dxRenderer.onDrawFrame(javax.microedition.khronos.opengles.GL10) (Cocos2dxRenderer.java:104)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at void android.opengl.GLSurfaceView$GLThread.guardedRun() (GLSurfaceView.java:1522)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at void android.opengl.GLSurfaceView$GLThread.run() (GLSurfaceView.java:1239)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] Dumping all threads without appropriate locks held: thread list lock mutator lock
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] All threads:
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] DALVIK THREADS (25):
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] “main” prio=5 tid=1 Native
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | group="" sCount=0 dsCount=0 obj=0x73ab7000 self=0xb3c27800
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | sysTid=9378 nice=0 cgrp=default sched=0/0 handle=0xb77bd040
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | state=S schedstat=( 883146374 595427222 1146 ) utm=35 stm=53 core=0 HZ=100
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | stack=0xbf7a5000-0xbf7a7000 stackSize=8MB
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | held mutexes=
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc14b0187
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1150b21
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1150b48
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1151b5d
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1066360
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1151d38
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1128575
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1608ddb
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #00 pc 00079355 /system/lib/libc.so (__epoll_pwait+37)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #01 pc 0001ce72 /system/lib/libc.so (epoll_pwait+98)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #02 pc 0001ceba /system/lib/libc.so (epoll_wait+58)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #03 pc 0001b857 /system/lib/libutils.so (android::Looper::pollInner(int)+199)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #04 pc 0001bc57 /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+55)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #05 pc 000df7c7 /system/lib/libandroid_runtime.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #06 pc 000df82a /system/lib/libandroid_runtime.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #07 pc 000db96e /data/dalvik-cache/x86/system@framework@boot.oat (Java_android_os_MessageQueue_nativePollOnce__JI+146)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at android.os.MessageQueue.nativePollOnce(Native method)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at android.os.MessageQueue.next(MessageQueue.java:143)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at android.os.Looper.loop(Looper.java:122)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at android.app.ActivityThread.main(ActivityThread.java:5293)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at java.lang.reflect.Method.invoke!(Native method)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at java.lang.reflect.Method.invoke(Method.java:372)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289]
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] “Signal Catcher” prio=5 tid=2 WaitingInMainSignalCatcherLoop
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | group="" sCount=0 dsCount=0 obj=0x12c000a0 self=0xb3c28c00
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | sysTid=9384 nice=0 cgrp=default sched=0/0 handle=0xb3c54b00
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | state=S schedstat=( 2442782 3692697 5 ) utm=0 stm=0 core=0 HZ=100
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | stack=0xb2df4000-0xb2df6000 stackSize=1012KB
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | held mutexes=
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1050474
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc105056f
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc126908c
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a615c
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1608ddb
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #00 pc 0007918b /system/lib/libc.so (__rt_sigtimedwait+27)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #01 pc 00025ce7 /system/lib/libc.so (sigwait+71)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #02 pc 00396575 /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #03 pc 00397192 /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #04 pc 00022b28 /system/lib/libc.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #05 pc 0001c729 /system/lib/libc.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #06 pc 000132f6 /system/lib/libc.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] (no managed stack frames)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289]
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] “JDWP” prio=5 tid=3 WaitingInMainDebuggerLoop
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | group="" sCount=0 dsCount=0 obj=0x12c050a0 self=0xb3c33400
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | sysTid=9385 nice=0 cgrp=default sched=0/0 handle=0xb3c54d80
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | state=S schedstat=( 4839714 9224761 15 ) utm=0 stm=0 core=0 HZ=100
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | stack=0xb2cf4000-0xb2cf6000 stackSize=1012KB
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | held mutexes=
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc11293f0
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc11294ef
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1129e11
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1129670
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1129670
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1129670
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc106dbb2
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc112a032
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc14e3569
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1118050
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc114e227
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc112a3b2
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1119000
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1608ddb
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #00 pc 00078de5 /system/lib/libc.so (__pselect6+37)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #01 pc 00021643 /system/lib/libc.so (select+179)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #02 pc 0044f20f /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #03 pc 002a5bef /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #04 pc 002a7ce0 /system/lib/libart.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #05 pc 00022b28 /system/lib/libc.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #06 pc 0001c729 /system/lib/libc.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #07 pc 000132f6 /system/lib/libc.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] (no managed stack frames)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289]
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] “GCDaemon” prio=5 tid=4 Waiting
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | group="" sCount=0 dsCount=0 obj=0x12c06220 self=0xb3c34400
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | sysTid=9390 nice=0 cgrp=default sched=0/0 handle=0xb3c52d00
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | state=S schedstat=( 1190081 8310989 1 ) utm=0 stm=0 core=0 HZ=100
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | stack=0xb27dc000-0xb27de000 stackSize=1036KB
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | held mutexes=
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a3e1f
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a3841
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a42a8
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a3fb6
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a58c6
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10ff879
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc124ceda
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc110ab0d
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a615c
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1608ddb
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #00 pc 000134d0 /system/lib/libc.so (syscall+32)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #01 pc 001018e7 [stack:9390] (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at java.lang.Object.wait!(Native method)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] - waiting on <0x3a84a003> (a java.lang.Daemons$GCDaemon)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at java.lang.Daemons$GCDaemon.run(Daemons.java:344)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] - locked <0x3a84a003> (a java.lang.Daemons$GCDaemon)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at java.lang.Thread.run(Thread.java:818)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289]
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] “Binder_1” prio=5 tid=5 Native
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | group="" sCount=0 dsCount=0 obj=0x12c5a0a0 self=0xb3c35400
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | sysTid=9391 nice=0 cgrp=default sched=0/0 handle=0xb3c52f80
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | state=S schedstat=( 12903736 24395099 59 ) utm=1 stm=0 core=0 HZ=100
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | stack=0xb25e0000-0xb25e2000 stackSize=1012KB
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | held mutexes=
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc14acdfb
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1075e06
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10b0b79
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10763b0
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10b0e1f
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc14b0333
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10b1692
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc14aff10
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc11282ff
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc111a419
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc122ce9f
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1130c5f
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1128598
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1608ddb
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #00 pc 00077216 /system/lib/libc.so (__ioctl+22)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #01 pc 000b0dba /system/lib/libc.so (ioctl+42)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #02 pc 0002bc1b /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+203)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #03 pc 0002c575 /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+37)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #04 pc 0002c639 /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+105)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #05 pc 00034ea8 /system/lib/libbinder.so (android::PoolThread::threadLoop()+40)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #06 pc 00016a5e /system/lib/libutils.so (android::thread::_threadLoop(void*)+398)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #07 pc 00086292 /system/lib/libandroid_runtime.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #08 pc 0001617a /system/lib/libutils.so (thread_data_t::trampoline(thread_data_t const*)+122)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #09 pc 00022b28 /system/lib/libc.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #10 pc 0001c729 /system/lib/libc.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #11 pc 000132f6 /system/lib/libc.so (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] (no managed stack frames)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289]
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] “HeapTrimmerDaemon” prio=5 tid=6 Waiting
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | group="" sCount=0 dsCount=0 obj=0x12c061c0 self=0xb3c28800
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | sysTid=9389 nice=0 cgrp=default sched=0/0 handle=0xb3c52a80
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | state=S schedstat=( 1830704 15715537 5 ) utm=0 stm=0 core=0 HZ=100
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | stack=0xb28e0000-0xb28e2000 stackSize=1036KB
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | held mutexes=
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a3e1f
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a3841
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a42a8
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a3fb6
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a58c6
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10ff879
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc124ceda
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc110ab0d
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a615c
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1608ddb
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #00 pc 000134d0 /system/lib/libc.so (syscall+32)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] native: #01 pc 001018e7 [stack:9389] (???)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at java.lang.Object.wait!(Native method)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] - waiting on <0x188b3b80> (a java.lang.Daemons$HeapTrimmerDaemon)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at java.lang.Daemons$HeapTrimmerDaemon.run(Daemons.java:311)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] - locked <0x188b3b80> (a java.lang.Daemons$HeapTrimmerDaemon)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] at java.lang.Thread.run(Thread.java:818)
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289]
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] “FinalizerWatchdogDaemon” prio=5 tid=7 Waiting
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | group="" sCount=0 dsCount=0 obj=0x12c06160 self=0xb3c28400
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | sysTid=9388 nice=0 cgrp=default sched=0/0 handle=0xb3c52800
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | state=S schedstat=( 2621871 15341391 6 ) utm=0 stm=0 core=0 HZ=100
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | stack=0xb29e4000-0xb29e6000 stackSize=1036KB
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] | held mutexes=
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a3e1f
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a3841
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a42a8
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a3fb6
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a58c6
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10ff879
07-13 16:16:47.808: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc10a615c
07-13 16:16:47.809: A/art(9378): art/runtime/runtime.cc:289] kernel: 0xc1608ddb
07-13 16:16:47.809: A/art(9378): art/runtime/runtime.cc:289] native: #00 pc 000134d0 /system/lib/libc.so (syscall+32)
07-13 16:16:47.809: A/art(9378): art/runtime/runtime.cc:289] native: #01 pc 001018a7 [stack:9388] (???)
07-13 16:16:47.809: A/art(9378): art/runtime/runtime.cc:289] at java.lang.Object.wait!(Native method)
07-13 16:16:47.809: A/art(9378): art/runtime/runtime.cc:289] - waiting on <0x246985b9> (a java.lang.Daemons$FinalizerWatchdogDaemon)
07-13 16:16:47.809: A/art(9378): art/runtime/runtime.cc:289] at java.lang.Daemons$FinalizerWatchdogDaemon.waitForObject(Daemons.java:240)
07-13 16:16:47.809: A/art(9378): art/runtime/runtime.cc:289] - locked <0x246985b9> (a java.lang.Daemons$FinalizerWatchdogDaemon)
07-13 16:16:47.809: A/art(9378): art/runtime/runtime.cc:289] at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:212)
07-13 16:16:47.809: A/art(9378): art/runtime/runtime.cc:289] at java.lang.Thread.run(Thread.java:818)
07-13 16:16:47.809: A/art(9378): art/runtime/runtime.cc:289]
07-13 16:16:47.809: A/art(9378): art/runtime/runtime.cc:289] “FinalizerDaemon” prio=5 tid=8 Waiting
07-13 16:16:47.809: A/art(9378): art/runtime/runtime.cc:289] | group="" sCount=0 dsCount=0 obj=0x12c06100 self=0xb3c28000
07-13 16:16:47.809: A/art(9378): art/runtime/runtime.cc:289] | sysTid=9387 nice=0 cgrp=default sched=0/0 handle=0xb3c52580
07-13 16:16:47.809: A/art(9378): art/runtime/runtime.cc:289] | state=S schedstat=( 2504992 17046212 5 ) utm=0 stm=0 core=0 HZ=100
07-13 16:16:49.787: W/System.err(9378): java.lang.RuntimeException: Can’t create handler inside thread that has not called Looper.prepare()
07-13 16:16:49.788: W/System.err(9378): at android.os.Handler.(Handler.java:200)
07-13 16:16:49.788: W/System.err(9378): at android.os.Handler.(Handler.java:114)
07-13 16:16:49.788: W/System.err(9378): at android.app.Dialog.(Dialog.java:108)
07-13 16:16:49.788: W/System.err(9378): at android.app.AlertDialog.(AlertDialog.java:125)
07-13 16:16:49.788: W/System.err(9378): at android.app.AlertDialog$Builder.create(AlertDialog.java:973)
07-13 16:16:49.788: W/System.err(9378): at android.app.AlertDialog$Builder.show(AlertDialog.java:992)
07-13 16:16:49.788: W/System.err(9378): at com.s.plugin.platform.SPlatformWrapper.O(SPlatformWrapper.java:295)
07-13 16:16:49.788: W/System.err(9378): at com.s.plugin.platform.SPlatformWrapper.M(SPlatformWrapper.java:98)
07-13 16:16:49.788: W/System.err(9378): at com.s.plugin.platform.a.a.a(SBasePlatform.java:104)
07-13 16:16:49.788: W/System.err(9378): at com.s.core.plugin.b.a(SPluginManager.java:114)
07-13 16:16:49.788: W/System.err(9378): at com.sy.framework.SYSDK.init(SYSDK.java:40)
07-13 16:16:49.788: W/System.err(9378): at org.cocos2dx.lua.AppHelper.sdkInit(AppHelper.java:636)
07-13 16:16:49.788: W/System.err(9378): at org.cocos2dx.lib.Cocos2dxRenderer.nativeRender(Native Method)
07-13 16:16:49.788: W/System.err(9378): at org.cocos2dx.lib.Cocos2dxRenderer.onDrawFrame(Cocos2dxRenderer.java:104)
07-13 16:16:49.788: W/System.err(9378): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1522)
07-13 16:16:49.788: W/System.err(9378): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1239)

有没有大佬帮忙看下?JNI DETECTED ERROR IN APPLICATION: JNI NewStringUTF called with pending exception ‘java.lang.RuntimeException’ thrown in unknown throw location这个是什么原因造成的啊?

你为啥在opengl的线程里面调用ui相关的东西呀。感觉你的sdk接的有问题,sdk的初始化地方写错了。

1赞

是的,我把sdk的初始化换到onCreate()里面就可以了

都不给一颗小心心么

1赞