Cocos1.7Android接入sdk报错！！！

will0523
Thu, 21 Dec 2017 11:37:51 +0000

12-22 09:59:49.164: W/System.err(26485): at org.cocos2dx.javascript.SDKWrapper.setGLSurfaceView(SDKWrapper.java:44)
12-22 09:59:49.164: W/System.err(26485): at org.cocos2dx.javascript.AppActivity.onCreateView(AppActivity.java:196)
12-22 09:59:49.164: W/System.err(26485): at org.cocos2dx.lib.Cocos2dxActivity.init(Cocos2dxActivity.java:409)
12-22 09:59:49.164: W/System.err(26485): at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:287)
12-22 09:59:49.164: W/System.err(26485): at org.cocos2dx.javascript.AppActivity.onCreate(AppActivity.java:57)
12-22 09:59:49.164: W/System.err(26485): at android.app.Activity.performCreate(Activity.java:6288)
12-22 09:59:49.164: W/System.err(26485): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1113)
12-22 09:59:49.164: W/System.err(26485): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2521)
12-22 09:59:49.164: W/System.err(26485): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2634)
12-22 09:59:49.164: W/System.err(26485): at android.app.ActivityThread.access$1000(ActivityThread.java:180)
12-22 09:59:49.164: W/System.err(26485): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1492)
12-22 09:59:49.164: W/System.err(26485): at android.os.Handler.dispatchMessage(Handler.java:111)
12-22 09:59:49.164: W/System.err(26485): at android.os.Looper.loop(Looper.java:207)
12-22 09:59:49.164: W/System.err(26485): at android.app.ActivityThread.main(ActivityThread.java:5791)
12-22 09:59:49.164: W/System.err(26485): at java.lang.reflect.Method.invoke(Native Method)
12-22 09:59:49.164: W/System.err(26485): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
12-22 09:59:49.164: W/System.err(26485): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
12-22 09:59:49.164: D/Cocos2dxActivity(26485): model=Redmi Note 4X
12-22 09:59:49.164: D/Cocos2dxActivity(26485): product=nikel
12-22 09:59:49.164: D/Cocos2dxActivity(26485): isEmulator=false
12-22 09:59:49.165: I/GLSurfaceView(26485): setRenderer(), this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… …I. 0,0-0,0}
12-22 09:59:49.168: W/System.err(26485): java.lang.NullPointerException: Attempt to invoke virtual method ‘java.lang.reflect.Method java.lang.Class.getMethod(java.lang.String, java.lang.Class[])’ on a null object reference
12-22 09:59:49.168: W/System.err(26485): at org.cocos2dx.javascript.SDKWrapper.init(SDKWrapper.java:32)
12-22 09:59:49.168: W/System.err(26485): at org.cocos2dx.javascript.AppActivity.onCreate(AppActivity.java:69)
12-22 09:59:49.168: W/System.err(26485): at android.app.Activity.performCreate(Activity.java:6288)
12-22 09:59:49.168: W/System.err(26485): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1113)
12-22 09:59:49.168: W/System.err(26485): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2521)
12-22 09:59:49.168: W/System.err(26485): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2634)
12-22 09:59:49.168: W/System.err(26485): at android.app.ActivityThread.access$1000(ActivityThread.java:180)
12-22 09:59:49.168: W/System.err(26485): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1492)
12-22 09:59:49.168: W/System.err(26485): at android.os.Handler.dispatchMessage(Handler.java:111)
12-22 09:59:49.168: W/System.err(26485): at android.os.Looper.loop(Looper.java:207)
12-22 09:59:49.168: W/System.err(26485): at android.app.ActivityThread.main(ActivityThread.java:5791)
12-22 09:59:49.168: W/System.err(26485): at java.lang.reflect.Method.invoke(Native Method)
12-22 09:59:49.168: W/System.err(26485): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
12-22 09:59:49.168: W/System.err(26485): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
12-22 09:59:49.169: W/System.err(26485): java.lang.NullPointerException: Attempt to invoke virtual method ‘java.lang.reflect.Method java.lang.Class.getMethod(java.lang.String, java.lang.Class[])’ on a null object reference
12-22 09:59:49.170: W/System.err(26485): at org.cocos2dx.javascript.SDKWrapper.onStart(SDKWrapper.java:164)
12-22 09:59:49.170: W/System.err(26485): at org.cocos2dx.javascript.AppActivity.onStart(AppActivity.java:269)
12-22 09:59:49.170: W/System.err(26485): at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1245)
12-22 09:59:49.170: W/System.err(26485): at android.app.Activity.performStart(Activity.java:6304)
12-22 09:59:49.170: W/System.err(26485): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2531)
12-22 09:59:49.170: W/System.err(26485): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2634)
12-22 09:59:49.170: W/System.err(26485): at android.app.ActivityThread.access$1000(ActivityThread.java:180)
12-22 09:59:49.170: W/System.err(26485): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1492)
12-22 09:59:49.170: W/System.err(26485): at android.os.Handler.dispatchMessage(Handler.java:111)
12-22 09:59:49.170: W/System.err(26485): at android.os.Looper.loop(Looper.java:207)
12-22 09:59:49.170: W/System.err(26485): at android.app.ActivityThread.main(ActivityThread.java:5791)
12-22 09:59:49.170: W/System.err(26485): at java.lang.reflect.Method.invoke(Native Method)
12-22 09:59:49.170: W/System.err(26485): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
12-22 09:59:49.170: W/System.err(26485): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
12-22 09:59:49.170: V/ActivityThread(26485): Performing resume of ActivityRecord{705906b token=android.os.BinderProxy@d2147c8 {com.uu898.planewar/org.cocos2dx.javascript.AppActivity}}
12-22 09:59:49.170: D/Cocos2dxActivity(26485): onResume()
12-22 09:59:49.173: D/AudioFocusManager(26485): requestAudioFocus succeed
12-22 09:59:49.173: W/System.err(26485): java.lang.NullPointerException: Attempt to invoke virtual method ‘java.lang.reflect.Method java.lang.Class.getMethod(java.lang.String, java.lang.Class[])’ on a null object reference
12-22 09:59:49.173: W/System.err(26485): at org.cocos2dx.javascript.SDKWrapper.onResume(SDKWrapper.java:54)
12-22 09:59:49.173: W/System.err(26485): at org.cocos2dx.javascript.AppActivity.onResume(AppActivity.java:204)
12-22 09:59:49.173: W/System.err(26485): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1268)
12-22 09:59:49.173: W/System.err(26485): at android.app.Activity.performResume(Activity.java:6363)
12-22 09:59:49.173: W/System.err(26485): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3279)
12-22 09:59:49.173: W/System.err(26485): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3325)
12-22 09:59:49.173: W/System.err(26485): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2639)
12-22 09:59:49.173: W/System.err(26485): at android.app.ActivityThread.access$1000(ActivityThread.java:180)
12-22 09:59:49.174: W/System.err(26485): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1492)
12-22 09:59:49.174: W/System.err(26485): at android.os.Handler.dispatchMessage(Handler.java:111)
12-22 09:59:49.174: W/System.err(26485): at android.os.Looper.loop(Looper.java:207)
12-22 09:59:49.174: W/System.err(26485): at android.app.ActivityThread.main(ActivityThread.java:5791)
12-22 09:59:49.174: W/System.err(26485): at java.lang.reflect.Method.invoke(Native Method)
12-22 09:59:49.174: W/System.err(26485): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
12-22 09:59:49.174: W/System.err(26485): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
12-22 09:59:49.174: D/ActivityThread(26485): ACT-AM_ON_RESUME_CALLED ActivityRecord{705906b token=android.os.BinderProxy@d2147c8 {com.uu898.planewar/org.cocos2dx.javascript.AppActivity}}
12-22 09:59:49.174: V/ActivityThread(26485): Resume ActivityRecord{705906b token=android.os.BinderProxy@d2147c8 {com.uu898.planewar/org.cocos2dx.javascript.AppActivity}} started activity: false, hideForNow: false, finished: false
12-22 09:59:49.174: V/PhoneWindow(26485): DecorView setVisiblity: visibility = 4 ,Parent =null, this =com.android.internal.policy.PhoneWindow$DecorView{6e71874 I.E… R…ID 0,0-0,0}
12-22 09:59:49.177: D/WindowClient(26485): Add to mViews: com.android.internal.policy.PhoneWindow$DecorView{6e71874 I.E… R…ID 0,0-0,0}, this = android.view.WindowManagerGlobal@695bd1a
12-22 09:59:49.178: D/OpenGLRenderer(26485): Dumper init 5 threads <0x7f89b9e740>
12-22 09:59:49.178: D/OpenGLRenderer(26485): <com.uu898.planewar> is running.
12-22 09:59:49.181: D/OpenGLRenderer(26485): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
12-22 09:59:49.182: D/OpenGLRenderer(26485): CanvasContext() 0x7f89b66000
12-22 09:59:49.188: I/[MALI]Gralloc: [+]r_hnd(0x7f7f962f80), client(37), share_fd(35)
12-22 09:59:49.188: D/GraphicBuffer(26485): register, handle(0x7f7f962f80) (w:1856 h:2048 s:1856 f:0x1 u:0x000100)
12-22 09:59:49.189: D/ViewRootImpl(26485): hardware acceleration is enabled, this = ViewRoot{b73f341 com.uu898.planewar/org.cocos2dx.javascript.AppActivity,ident = 0}
12-22 09:59:49.194: V/ActivityThread(26485): Resuming ActivityRecord{705906b token=android.os.BinderProxy@d2147c8 {com.uu898.planewar/org.cocos2dx.javascript.AppActivity}} with isForward=true
12-22 09:59:49.195: V/PhoneWindow(26485): DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{b73f341 com.uu898.planewar/org.cocos2dx.javascript.AppActivity,ident = 0}, this =com.android.internal.policy.PhoneWindow$DecorView{6e71874 V.E… R…ID 0,0-0,0}
12-22 09:59:49.195: V/ActivityThread(26485): Scheduling idle handler for ActivityRecord{705906b token=android.os.BinderProxy@d2147c8 {com.uu898.planewar/org.cocos2dx.javascript.AppActivity}}
12-22 09:59:49.195: D/ActivityThreadInjector(26485): clearCachedDrawables.
12-22 09:59:49.200: V/InputMethodManager(26485): Not IME target window, ignoring
12-22 09:59:49.200: I/SurfaceView(26485): updateWindow – onWindowVisibilityChanged, visibility = 0, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…I. 0,0-0,0}
12-22 09:59:49.216: D/OpenGLRenderer(26485): CanvasContext() 0x7f89b66000 initialize window=0x7f8b19f010, title=com.uu898.planewar/org.cocos2dx.javascript.AppActivity
12-22 09:59:49.216: I/SurfaceView(26485): updateWindow – setFrame, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.218: I/SurfaceView(26485): updateWindow – OnPreDrawListener, mHaveFrame = true, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.218: I/SurfaceView(26485): Changes: creating=true format=true size=true visible=true left=true top=true mUpdateWindowNeeded=false mReportDrawNeeded=false redrawNeeded=false forceSizeChanged=true mVisible=false mRequestedVisible=true, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.220: I/OpenGLRenderer(26485): Initialized EGL, version 1.4
12-22 09:59:49.221: I/SurfaceView(26485): Cur surface: Surface(name=null)/@0xf46ff96, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.223: D/OpenGLRenderer(26485): Created EGL context (0x7f84f55880)
12-22 09:59:49.224: I/OpenGLRenderer(26485): Get enable program binary service property (1)
12-22 09:59:49.224: I/OpenGLRenderer(26485): Initializing program atlas…
12-22 09:59:49.224: D/ProgramBinary/Service(26485): BpProgramBinaryService.getFileDescriptor
12-22 09:59:49.225: D/ProgramBinary/Service(26485): BpProgramBinaryService.getProgramMapLen
12-22 09:59:49.225: D/ProgramBinary/Service(26485): BpProgramBinaryService.getProgramMapArray
12-22 09:59:49.225: V/SurfaceView(26485): this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920} got resized: w=1080 h=1920, cur w=-1 h=-1
12-22 09:59:49.225: D/ProgramBinary/Service(26485): BpProgramBinaryService.getProgramBinaryLen
12-22 09:59:49.225: I/OpenGLRenderer(26485): Program binary detail: Binary length is 169176, program map length is 152.
12-22 09:59:49.225: I/OpenGLRenderer(26485): Succeeded to mmap program binaries. File descriptor is 44, and path is /dev/ashmem.
12-22 09:59:49.225: I/OpenGLRenderer(26485): No need to use file discriptor anymore, close fd(44).
12-22 09:59:49.226: D/OpenGLRenderer(26485): Initializing program cache from 0x7f8edbfbb8, size = 3
12-22 09:59:49.226: I/SurfaceView(26485): New surface: Surface(name=null)/@0x71eb717, vis=true, frame=Rect(0, 0 - 1080, 1920), this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.226: I/SurfaceView(26485): Callback --> surfaceCreated, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.227: I/SurfaceView(26485): surfaceCreated callback +, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.227: I/SurfaceView(26485): surfaceCreated callback -, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.227: I/SurfaceView(26485): surfaceChanged – format=4 w=1080 h=1920, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.227: I/SurfaceView(26485): surfaceChanged callback +, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.227: I/SurfaceView(26485): surfaceChanged callback -, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.227: I/SurfaceView(26485): surfaceRedrawNeeded, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.227: I/SurfaceView(26485): finishedDrawing, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.227: I/EglHelper(26485): eglInitialize = 6534, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.227: I/EglHelper(26485): chooseConfig = 6534, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.228: D/OpenGLRenderer(26485): – init (key = 0x0000000000000000)
12-22 09:59:49.228: I/DefaultContextFactory(26485): createContext = 6534, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.229: D/OpenGLRenderer(26485): – init (key = 0x0000000000000001)
12-22 09:59:49.230: D/OpenGLRenderer(26485): – init (key = 0x0000020000000008)
12-22 09:59:49.230: D/MALI(26485): eglCreateImageKHR:511: [Crop] 0 0 1856 2048 img[1856 2048]
12-22 09:59:49.231: V/SurfaceView(26485): Layout: x=0 y=0 w=1080 h=1920, frame=Rect(0, 0 - 1080, 1920), this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.232: D/Surface(26485): Surface::connect(this=0x7f8b1a0c00,api=1)
12-22 09:59:49.232: D/Surface(26485): Surface::connect(this=0x7f8b19f000,api=1)
12-22 09:59:49.232: W/libEGL(26485): [ANDROID_RECORDABLE] format: 4
12-22 09:59:49.232: W/libEGL(26485): [ANDROID_RECORDABLE] format: 1
12-22 09:59:49.236: D/mali_winsys(26485): new_window_surface returns 0x3000
12-22 09:59:49.236: D/mali_winsys(26485): new_window_surface returns 0x3000
12-22 09:59:49.240: I/SurfaceView(26485): updateWindow – OnPreDrawListener, mHaveFrame = true, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.240: I/SurfaceView(26485): Changes: creating=false format=false size=false visible=false left=false top=false mUpdateWindowNeeded=true mReportDrawNeeded=true redrawNeeded=false forceSizeChanged=false mVisible=true mRequestedVisible=true, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.240: I/SurfaceView(26485): Cur surface: Surface(name=null)/@0xf46ff96, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.240: D/jswrapper(26485): Initializing V8, version: 6.0.286.52
12-22 09:59:49.242: I/SurfaceView(26485): New surface: Surface(name=null)/@0x71eb717, vis=true, frame=Rect(0, 0 - 1080, 1920), this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.242: I/SurfaceView(26485): surfaceRedrawNeeded, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.243: I/SurfaceView(26485): finishedDrawing, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.243: V/SurfaceView(26485): Layout: x=0 y=0 w=1080 h=1920, frame=Rect(0, 0 - 1080, 1920), this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…ID 0,0-1080,1920}
12-22 09:59:49.245: I/SurfaceView(26485): Punch a hole(dispatchDraw), w = 1080, h = 1920, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F… 0,0-1080,1920}
12-22 09:59:49.246: I/PerfService(26485): PerfServiceNative api init
12-22 09:59:49.253: I/[MALI]Gralloc: [+]r_hnd(0x7f84f60b40), client(37), share_fd(49)
12-22 09:59:49.253: D/GraphicBuffer(26485): register, handle(0x7f84f60b40) (w:1080 h:1920 s:1088 f:0x1 u:0x000b00)
12-22 09:59:49.259: D/OpenGLRenderer(26485): ProgramCache save to disk, size = 3
12-22 09:59:49.267: I/[MALI]Gralloc: [+]r_hnd(0x7f84f60be0), client(37), share_fd(52)
12-22 09:59:49.267: D/GraphicBuffer(26485): register, handle(0x7f84f60be0) (w:1080 h:1920 s:1088 f:0x1 u:0x000b00)
12-22 09:59:49.273: D/Cocos2dxActivity(26485): onWindowFocusChanged() hasFocus=true
12-22 09:59:49.274: I/GLSurfaceView(26485): setRenderMode = 1, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…I. 0,0-1080,1920}
12-22 09:59:49.275: V/InputMethodManager(26485): onWindowFocus: org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…I. 0,0-1080,1920} softInputMode=288 first=true flags=#1010500
12-22 09:59:49.275: V/InputMethodManager(26485): START INPUT: org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…I. 0,0-1080,1920} ic=null tba=android.view.inputmethod.EditorInfo@c666b6e controlFlags=#105
12-22 09:59:49.278: I/SurfaceView(26485): updateWindow – UPDATE_WINDOW_MSG, this = Handler (android.view.SurfaceView$1) {16b720f}
12-22 09:59:49.280: I/SurfaceView(26485): updateWindow – setFrame, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…I. 0,0-1080,1920}
12-22 09:59:49.281: I/SurfaceView(26485): updateWindow – OnPreDrawListener, mHaveFrame = true, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F…I. 0,0-1080,1920}
12-22 09:59:49.283: I/SurfaceView(26485): Punch a hole(dispatchDraw), w = 1080, h = 1920, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F… 0,0-1080,1920}
12-22 09:59:49.290: I/[MALI]Gralloc: [+]r_hnd(0x7f84f60c80), client(37), share_fd(55)
12-22 09:59:49.291: D/GraphicBuffer(26485): register, handle(0x7f84f60c80) (w:1080 h:1920 s:1088 f:0x1 u:0x000b00)
12-22 09:59:50.089: D/jswrapper(26485): JS: Cocos2d-x-lite v1.7.0
12-22 09:59:50.574: D/jswrapper(26485): JS: Create unpacker 0d094f4f6 for f1uazoXUdM9p6yvFsTEWyj
12-22 09:59:50.582: I/[MALI]Gralloc: [+]r_hnd(0x7f8aa9f0a0), client(37), share_fd(57)
12-22 09:59:50.582: D/GraphicBuffer(26485): register, handle(0x7f8aa9f0a0) (w:1080 h:1920 s:1088 f:0x4 u:0x000b00)
12-22 09:59:50.589: I/CocosAnalytics(26485): ==> onResume()
12-22 09:59:50.590: E/CocosAnalytics(26485): ==> Please init sdk first!
12-22 09:59:50.598: I/[MALI]Gralloc: [+]r_hnd(0x7f8aa9f140), client(37), share_fd(59)
12-22 09:59:50.598: D/GraphicBuffer(26485): register, handle(0x7f8aa9f140) (w:1080 h:1920 s:1088 f:0x4 u:0x000b00)
12-22 09:59:50.609: I/[MALI]Gralloc: [+]r_hnd(0x7f8aaa0360), client(37), share_fd(61)
12-22 09:59:50.609: D/GraphicBuffer(26485): register, handle(0x7f8aaa0360) (w:1080 h:1920 s:1088 f:0x4 u:0x000b00)
12-22 09:59:50.641: D/jswrapper(26485): JS: LoadScene 33+1lzQC9OF7ZYY73my/D+: 88.16200000000003ms
12-22 09:59:50.643: D/jswrapper(26485): JS: I: 1.7970000000000255ms
12-22 09:59:50.644: D/jswrapper(26485): JS: AR: 0.33299999999997ms
12-22 09:59:50.644: D/jswrapper(26485): JS: D: 0.19799999999997908ms
12-22 09:59:50.644: D/jswrapper(26485): JS: Success to load scene: db://assets/Scene/PreLoad.fire
12-22 09:59:50.644: D/jswrapper(26485): JS: AP: 0.009999999999990905ms
12-22 09:59:50.689: D/jswrapper(26485): JS: A: 44.15600000000006ms
12-22 09:59:50.715: D/libc-netbsd(26485): [getaddrinfo]: mtk hostname=192.168.0.222; servname=(null); netid=0; mark=0
12-22 09:59:50.715: D/libc-netbsd(26485): getaddrinfo( app_uid:10245
12-22 09:59:50.715: D/libc-netbsd(26485): getaddrinfo() uid prop:
12-22 09:59:50.715: D/libc-netbsd(26485): getaddrinfo() getuid():10245
12-22 09:59:50.715: D/libc-netbsd(26485): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
12-22 09:59:50.717: D/libc-netbsd(26485): [getaddrinfo]: mtk hostname=192.168.0.222; servname=(null); netid=0; mark=0
12-22 09:59:50.717: D/libc-netbsd(26485): getaddrinfo( app_uid:10245
12-22 09:59:50.717: D/libc-netbsd(26485): getaddrinfo() uid prop:
12-22 09:59:50.717: D/libc-netbsd(26485): getaddrinfo() getuid():10245
12-22 09:59:50.717: D/libc-netbsd(26485): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
12-22 09:59:50.718: D/libc-netbsd(26485): [getaddrinfo]: mtk hostname=192.168.0.222; servname=(null); netid=0; mark=0
12-22 09:59:50.718: D/libc-netbsd(26485): getaddrinfo( app_uid:10245
12-22 09:59:50.718: D/libc-netbsd(26485): getaddrinfo() uid prop:
12-22 09:59:50.718: D/libc-netbsd(26485): getaddrinfo() getuid():10245
12-22 09:59:50.718: D/libc-netbsd(26485): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
12-22 09:59:50.729: I/System.out(26485): [CDS][DNS] getAllByNameImpl netId = 0
12-22 09:59:50.729: D/libc-netbsd(26485): [getaddrinfo]: mtk hostname=192.168.0.222; servname=(null); netid=0; mark=0
12-22 09:59:50.729: D/libc-netbsd(26485): getaddrinfo( app_uid:10245
12-22 09:59:50.729: D/libc-netbsd(26485): getaddrinfo() uid prop:
12-22 09:59:50.729: D/libc-netbsd(26485): getaddrinfo() getuid():10245
12-22 09:59:50.729: D/libc-netbsd(26485): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
12-22 09:59:50.729: E/NetworkUtilities(26485): [MTK_net]ss.ss_family:2
12-22 09:59:50.732: E/NetworkUtilities(26485): [MTK_net]ss.ss_family:2
12-22 09:59:50.733: I/System.out(26485): [CDS][DNS] getAllByNameImpl netId = 0
12-22 09:59:50.733: D/libc-netbsd(26485): [getaddrinfo]: mtk hostname=192.168.0.222; servname=(null); netid=0; mark=0
12-22 09:59:50.733: D/libc-netbsd(26485): getaddrinfo( app_uid:10245
12-22 09:59:50.733: D/libc-netbsd(26485): getaddrinfo() uid prop:
12-22 09:59:50.733: D/libc-netbsd(26485): getaddrinfo() getuid():10245
12-22 09:59:50.733: D/libc-netbsd(26485): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
12-22 09:59:50.734: I/System.out(26485): [CDS]rx timeout:45000
12-22 09:59:50.734: E/NetworkUtilities(26485): [MTK_net]ss.ss_family:10
12-22 09:59:50.734: E/NetworkUtilities(26485): [MTK_net]ss.ss_family:2
12-22 09:59:50.734: I/System.out(26485): [socket][0] connection /192.168.0.222:80;LocalPort=42213(45000)
12-22 09:59:50.734: E/NetworkUtilities(26485): [MTK_net]ss.ss_family:2
12-22 09:59:50.734: I/System.out(26485): [CDS]connect[/192.168.0.222:80] tm:45
12-22 09:59:50.735: D/Posix(26485): [Posix_connect Debug]Process com.uu898.planewar :80
12-22 09:59:50.735: E/NetworkUtilities(26485): [MTK_net]ss.ss_family:2
12-22 09:59:50.749: E/NetworkUtilities(26485): [MTK_net]ss.ss_family:2
12-22 09:59:50.749: I/System.out(26485): [socket][/192.168.1.103:42213] connected
12-22 09:59:50.749: I/System.out(26485): [CDS]rx timeout:45000
12-22 09:59:50.759: D/libc-netbsd(26485): [getaddrinfo]: mtk hostname=192.168.0.222; servname=(null); netid=0; mark=0
12-22 09:59:50.759: D/libc-netbsd(26485): getaddrinfo( app_uid:10245
12-22 09:59:50.759: D/libc-netbsd(26485): getaddrinfo() uid prop:
12-22 09:59:50.759: D/libc-netbsd(26485): getaddrinfo() getuid():10245
12-22 09:59:50.759: D/libc-netbsd(26485): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
12-22 09:59:50.760: D/libc-netbsd(26485): [getaddrinfo]: mtk hostname=192.168.0.222; servname=(null); netid=0; mark=0
12-22 09:59:50.760: D/libc-netbsd(26485): getaddrinfo( app_uid:10245
12-22 09:59:50.760: D/libc-netbsd(26485): getaddrinfo() uid prop:
12-22 09:59:50.760: D/libc-netbsd(26485): getaddrinfo() getuid():10245
12-22 09:59:50.760: D/libc-netbsd(26485): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
12-22 09:59:50.760: D/libc-netbsd(26485): [getaddrinfo]: mtk hostname=192.168.0.222; servname=(null); netid=0; mark=0
12-22 09:59:50.760: D/libc-netbsd(26485): getaddrinfo( app_uid:10245
12-22 09:59:50.760: D/libc-netbsd(26485): getaddrinfo() uid prop:
12-22 09:59:50.760: D/libc-netbsd(26485): getaddrinfo() getuid():10245
12-22 09:59:50.760: D/libc-netbsd(26485): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
12-22 09:59:50.761: I/System.out(26485): [CDS]rx timeout:1
12-22 09:59:50.766: I/System.out(26485): [CDS]EAGAIN in Recvfrom
12-22 09:59:50.766: I/System.out(26485): [CDS]read byte is 0
12-22 09:59:50.766: I/System.out(26485): [CDS]rx timeout:45000
12-22 09:59:50.767: I/System.out(26485): [CDS]rx timeout:45000
12-22 09:59:50.772: D/Cocos2dxDownloader(26485): onSuccess(i:200 headers:[Lcz.msebera.android.httpclient.Header;@66945cf file:/data/user/0/com.uu898.planewar/files/remote-asset_temp/version.manifest.tmp
12-22 09:59:50.797: D/jswrapper(26485): JS: HttpMgr get: http://plain.haoxiaow.com:7000/status
12-22 09:59:50.802: I/System.out(26485): [CDS][DNS] getAllByNameImpl netId = 0
12-22 09:59:50.802: D/libc-netbsd(26485): [getaddrinfo]: mtk hostname=plain.haoxiaow.com; servname=(null); netid=0; mark=0
12-22 09:59:50.802: D/libc-netbsd(26485): getaddrinfo( app_uid:10245
12-22 09:59:50.802: D/libc-netbsd(26485): getaddrinfo() uid prop:
12-22 09:59:50.802: D/libc-netbsd(26485): getaddrinfo() getuid():10245
12-22 09:59:50.802: D/libc-netbsd(26485): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
12-22 09:59:50.803: D/libc-netbsd(26485): [getaddrinfo]: mtk hostname=plain.haoxiaow.com; servname=(null); netid=0; mark=0
12-22 09:59:50.803: D/libc-netbsd(26485): getaddrinfo( app_uid:10245
12-22 09:59:50.803: D/libc-netbsd(26485): getaddrinfo() uid prop:
12-22 09:59:50.803: D/libc-netbsd(26485): getaddrinfo() getuid():10245
12-22 09:59:50.803: D/libc-netbsd(26485): [getaddrinfo]: mtk ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
12-22 09:59:50.809: D/libc-netbsd(26485): getaddrinfo: plain.haoxiaow.com get result from proxy gai_error = 0
12-22 09:59:50.809: I/System(26485): FinalizerDaemon: finalize objects = 1
12-22 09:59:50.810: I/System.out(26485): [CDS]rx timeout:60000
12-22 09:59:50.810: E/NetworkUtilities(26485): [MTK_net]ss.ss_family:10
12-22 09:59:50.810: E/NetworkUtilities(26485): [MTK_net]ss.ss_family:2
12-22 09:59:50.810: I/System.out(26485): [socket][1] connection plain.haoxiaow.com/106.14.180.193:7000;LocalPort=34254(30000)
12-22 09:59:50.810: E/NetworkUtilities(26485): [MTK_net]ss.ss_family:2
12-22 09:59:50.810: I/System.out(26485): [CDS]connect[plain.haoxiaow.com/106.14.180.193:7000] tm:30
12-22 09:59:50.810: D/Posix(26485): [Posix_connect Debug]Process com.uu898.planewar :7000
12-22 09:59:50.810: E/NetworkUtilities(26485): [MTK_net]ss.ss_family:2
12-22 09:59:50.836: E/NetworkUtilities(26485): [MTK_net]ss.ss_family:2
12-22 09:59:50.837: I/System.out(26485): [socket][/192.168.1.103:34254] connected
12-22 09:59:50.837: I/System.out(26485): [CDS]rx timeout:60000
12-22 09:59:50.837: I/System.out(26485): [CDS]SO_SND_TIMEOUT:0
12-22 09:59:50.837: I/System.out(26485): [OkHttp] sendRequest>>
12-22 09:59:50.837: I/System.out(26485): [OkHttp] sendRequest<<
12-22 09:59:50.865: W/art(26485): Native thread exiting without having called DetachCurrentThread (maybe it’s going to use a pthread_key_create destructor?): Thread[21,tid=26568,Native,Thread*=0x7f6251ee00,peer=0x12f200a0,“Thread-6543”]
12-22 09:59:50.865: D/JniHelper(26485): JniHelper::getJavaVM(), pthread_self() = 546886796352
12-22 09:59:50.879: D/JniHelper(26485): JniHelper::getJavaVM(), pthread_self() = 547693794368
12-22 09:59:50.883: E/Android: 手游猪sdk初始化成功
12-22 09:59:50.885: I/Timeline(26485): Timeline: Activity_launch_request time:129856558
12-22 09:59:50.886: W/System.err(26485): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.uu898.planewar/com.uu898.gamesdk.UGActivity}; have you declared this activity in your AndroidManifest.xml?
12-22 09:59:50.886: W/System.err(26485): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1805)
12-22 09:59:50.886: W/System.err(26485): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1523)
12-22 09:59:50.886: W/System.err(26485): at android.app.ContextImpl.startActivity(ContextImpl.java:692)
12-22 09:59:50.886: W/System.err(26485): at android.app.ContextImpl.startActivity(ContextImpl.java:674)
12-22 09:59:50.886: W/System.err(26485): at android.content.ContextWrapper.startActivity(ContextWrapper.java:341)
12-22 09:59:50.886: W/System.err(26485): at com.uu898.gamesdk.core.UGSdkCore.login(UGSdkCore.java:51)
12-22 09:59:50.886: W/System.err(26485): at org.cocos2dx.javascript.AppActivity.loginSdk(AppActivity.java:172)
12-22 09:59:50.886: W/System.err(26485): at org.cocos2dx.lib.Cocos2dxRenderer.nativeRender(Native Method)
12-22 09:59:50.886: W/System.err(26485): at org.cocos2dx.lib.Cocos2dxRenderer.onDrawFrame(Cocos2dxRenderer.java:104)
12-22 09:59:50.886: W/System.err(26485): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1590)
12-22 09:59:50.886: W/System.err(26485): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1286)
12-22 09:59:50.886: E/JavaScriptJavaBridge(26485): [ERROR] (D:/sund/cocos/PlaneWar-h5/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.android/…/manual/JavaScriptJavaBridge.cpp, 554): js_cocos2dx_JSJavaBridge : call result code: -4
12-22 09:59:50.886: E/JavaScriptJavaBridge(26485): [ERROR] Failed to invoke JavaScriptJavaBridge_callStaticMethod, location: D:/sund/cocos/PlaneWar-h5/build/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/proj.android/…/manual/JavaScriptJavaBridge.cpp:567
12-22 09:59:51.285: I/[MALI]Gralloc: [+]r_hnd(0x7f7f962da0), client(37), share_fd(65)
12-22 09:59:51.285: D/GraphicBuffer(26485): register, handle(0x7f7f962da0) (w:1080 h:1920 s:1088 f:0x4 u:0x000b00)
12-22 09:59:59.630: I/SurfaceView(26485): updateWindow – setFrame, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F… 0,0-1080,1920}
12-22 09:59:59.630: I/SurfaceView(26485): updateWindow – OnPreDrawListener, mHaveFrame = true, this = org.cocos2dx.lib.Cocos2dxGLSurfaceView{15bcc09 VFE… .F… 0,0-1080,1920}

result code: -4是什么意思？

阅读整个主题