Creator 1.5
目标平台:Android
详细报错信息,包含调用堆栈:
D/Cocos2dxActivity( 9614): onWindowFocusChanged() hasFocus=true
I/ActivityManager( 1148): Timeline: Activity_windows_visible id: ActivityRecord{41dbf278 u0 org.cocos2d.lpmj/org.cocos2dx.javascript.AppActivity t54} time:308578917
D/cocos2d-x( 9614):
D/cocos2d-x( 9614): {
D/cocos2d-x( 9614): gl.supports_OES_packed_depth_stencil: true
D/cocos2d-x( 9614): gl.supports_vertex_array_object: true
D/cocos2d-x( 9614): gl.supports_BGRA8888: false
D/cocos2d-x( 9614): cocos2d.x.version: 1.5.0
D/cocos2d-x( 9614): gl.supports_discard_framebuffer: true
D/cocos2d-x( 9614): cocos2d.x.compiled_with_profiler: false
D/cocos2d-x( 9614): gl.supports_PVRTC: false
D/cocos2d-x( 9614): cocos2d.x.build_type: DEBUG
D/cocos2d-x( 9614): gl.renderer: Adreno ™ 305
D/cocos2d-x( 9614): gl.supports_OES_depth24: true
D/cocos2d-x( 9614): gl.supports_ETC1: true
D/cocos2d-x( 9614): gl.supports_OES_map_buffer: false
D/cocos2d-x( 9614): cocos2d.x.compiled_with_gl_state_cache: true
D/cocos2d-x( 9614): gl.version: OpenGL ES 3.0 V@66.0 AU@04.04.02.099.010 (CL@)
D/cocos2d-x( 9614): gl.supports_NPOT: true
D/cocos2d-x( 9614): gl.max_texture_units: 32
D/cocos2d-x( 9614): gl.vendor: Qualcomm
D/cocos2d-x( 9614): gl.max_texture_size: 4096
D/cocos2d-x( 9614): }
D/cocos2d-x( 9614):
E/cocos2d-x( 9614): cocos2d: warning, Director::setProjection() failed because size is 0
E/JniHelper( 9614): Failed to find static method id of setAnimationInterval
E/JniHelper( 9614): Failed to find static java method. Class name: org/cocos2dx/lib/Cocos2dxRenderer, method name: setAnimationInterval, signature: (F)V
W/IInputConnectionWrapper( 1430): showStatusIcon on inactive InputConnection
I/ActivityManager( 9614): Timeline: Activity_idle id: android.os.BinderProxy@41d851c8 time:308579000
I/ActivityManager( 9614): Timeline: Activity_idle id: android.os.BinderProxy@41d851c8 time:308579002
D/cocos2d-x( 9614): cocos2d: fullPathForFilename: No file found at script/jsb_prepare.jsc. Possible missing file.
E/JniHelper( 9614): Failed to find static method id of getCocos2dxWritablePath
E/JniHelper( 9614): Failed to find static java method. Class name: org/cocos2dx/lib/Cocos2dxHelper, method name: getCocos2dxWritablePath, signature: ()Ljava/lang/String;
W/dalvikvm( 9614): dvmFindClassByName rejecting ‘org/cocos2dx/lib/Cocos2dxLocalStorage’
E/JniHelper( 9614): Classloader failed to find class of org/cocos2dx/lib/Cocos2dxLocalStorage
E/JniHelper( 9614): Failed to find class org/cocos2dx/lib/Cocos2dxLocalStorage
E/JniHelper( 9614): Failed to find static java method. Class name: org/cocos2dx/lib/Cocos2dxLocalStorage, method name: init, signature: (Ljava/lang/String;Ljava/lang/String;)Z
D/cocos2d-x( 9614): cocos2d: fullPathForFilename: No file found at script/jsb_boot.jsc. Possible missing file.
E/JniHelper( 9614): Failed to find static method id of getSDKVersion
E/JniHelper( 9614): Failed to find static java method. Class name: org/cocos2dx/lib/Cocos2dxHelper, method name: getSDKVersion, signature: ()I
D/cocos2d ( 9614): Fail to get android SDK version.
E/JniHelper( 9614): Failed to find static method id of getCurrentLanguage
E/JniHelper( 9614): Failed to find static java method. Class name: org/cocos2dx/lib/Cocos2dxHelper, method name: getCurrentLanguage, signature: ()Ljava/lang/String;
D/cocos2d-x debug info( 9614): Cocos2d-JS v3.14
E/ ( 1148): grade_parameter buf sprintf = 6 196 , len = 5
E/ ( 1148): grade_parameter write = 5
V/WLAN_PSA( 217): NL MSG, len[048], NL type[0x11] WNI type[0x5050] len[028]
I/PowerManager( 1390): acquire wake lock at time 2017-06-17 00:43:30 wakeLock :flags = 1 tag= RILJ count = 0 refcounted= false mHeld= true
I/PowerManager( 1390): acquire wake lock at time 2017-06-17 00:43:30 wakeLock :flags = 1 tag= RILJ count = 0 refcounted= false mHeld= true
I/PowerManager( 1390): acquire wake lock at time 2017-06-17 00:43:30 wakeLock :flags = 1 tag= RILJ count = 0 refcounted= false mHeld= true
I/PowerManager( 1390): acquire wake lock at time 2017-06-17 00:43:30 wakeLock :flags = 1 tag= RILJ count = 0 refcounted= false mHeld= true
D/nubiatel:tel-callBack-service( 203): onCellLocationChanged arg0 = Bundle[mParcelledData.dataSize=76]
D/nubiatel:tel-callBack-service( 203): onCellLocationChanged arg0 = Bundle[mParcelledData.dataSize=76]
I/PowerManager( 1390): release wake lock at time 2017-06-17 00:43:30 wakeLock :flags = 1 tag= RILJ count = 0 refcounted= false mHeld= false
E/JniHelper( 9614): Failed to find static method id of setAnimationInterval
E/JniHelper( 9614): Failed to find static java method. Class name: org/cocos2dx/lib/Cocos2dxRenderer, method name: setAnimationInterval, signature: (F)V
E/JniHelper( 9614): Failed to find static method id of setAnimationInterval
E/JniHelper( 9614): Failed to find static java method. Class name: org/cocos2dx/lib/Cocos2dxRenderer, method name: setAnimationInterval, signature: (F)V
D/cocos2d-x debug info( 9614): (evaluatedOK == JS_FALSE)
E/cocos js error:( 9614): assets/src/jsb_anysdk.js line:1 msg:ReferenceError: anysdk is not defined
D/cocos2d-x debug info( 9614): Evaluating main.js failed (evaluatedOK == JS_FALSE)
D/wpa_supplicant( 1289): RX ctrl_iface - hexdump(len=11): 53 49 47 4e 41 4c 5f 50 4f 4c 4c
D/wpa_supplicant( 1289): wlan0: Control interface command ‘SIGNAL_POLL’
W/dalvikvm( 9614): threadid=14: thread exiting with uncaught exception (group=0x41a65d58)
D/wpa_supplicant( 1289): nl80211: survey data missing!
E/AndroidRuntime( 9614): FATAL EXCEPTION: GLThread 696
E/AndroidRuntime( 9614): Process: org.cocos2d.lpmj, PID: 9614
E/AndroidRuntime( 9614): java.lang.NoClassDefFoundError: org/cocos2dx/lib/Cocos2dxDownloader
E/AndroidRuntime( 9614): at org.cocos2dx.lib.Cocos2dxRenderer.nativeInit(Native Method)
E/AndroidRuntime( 9614): at org.cocos2dx.lib.Cocos2dxRenderer.onSurfaceCreated(Unknown Source)
E/AndroidRuntime( 9614): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1501)
E/AndroidRuntime( 9614): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
E/AndroidRuntime( 9614): Caused by: java.lang.ClassNotFoundException: Didn’t find class “org.cocos2dx.lib.Cocos2dxDownloader” on path: DexPathList[[zip file “/data/app/org.cocos2d.lpmj-1.apk”],nativeLibraryDirectories=[/data/app-lib/org.cocos2d.lpmj-1, /vendor/lib, /system/lib]]
E/AndroidRuntime( 9614): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime( 9614): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/AndroidRuntime( 9614): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/AndroidRuntime( 9614): … 4 more
D/Cocos2dxActivity( 9614): onWindowFocusChanged() hasFocus=false
W/ActivityManager( 1148): Force finishing activity org.cocos2d.lpmj/org.cocos2dx.javascript.AppActivity
D/dalvikvm( 1148): GC_FOR_ALLOC freed 174K, 27% free 19287K/26388K, paused 52ms, total 52ms
I/dalvikvm-heap( 1148): Grow heap (frag case) to 21.816MB for 829648-byte allocation
D/dalvikvm( 1148): GC_FOR_ALLOC freed 2217K, 35% free 17882K/27200K, paused 45ms, total 45ms
D/Cocos2dxActivity( 9614): onPause()