环境:cocos ide 1.2 mac
从 cocos js 3.5 升级到3.6.1
直接打包安装到设备,游戏黑屏。
但是adb到设备调试,游戏正常!!
各位有没有遇到的啊
抓了下真机上到日志, 这里是可疑点:
I/Timeline( 929): Timeline: Activity_windows_visible id: ActivityRecord{424d97f0 u0 org.xxx.aaaaa/org.cocos2dx.javascript.AppActivity t119} time:20936572
D/PhoneStatusBar( 1017): disable: 0x00000180 -> 0x00000100 (diff: 0x00000080)
D/PhoneStatusBar( 1017): disable: < expand icons alerts ticker system_info back home recent clock full HIDE >
W/InputMethodManagerService( 929): Got RemoteException sending setActive(false) notification to pid 13443 uid 10137
V/PhoneStatusBar( 1017): setLightsOn(true)
W/Binder ( 1140): Caught a RuntimeException from the binder stub implementation.
W/Binder ( 1140): java.lang.NullPointerException
W/Binder ( 1140): at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)
W/Binder ( 1140): at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
W/Binder ( 1140): at android.os.Binder.execTransact(Binder.java:404)
W/Binder ( 1140): at dalvik.system.NativeStart.run(Native Method)
I/WindowManager( 929): Screen frozen for +646ms due to Window{42e5b720 u0 Starting org.xxx.aaaaa}
I/Timeline(14800): Timeline: Activity_idle id: android.os.BinderProxy@4241d9c0 time:20936608
W/dalvikvm(14800): dvmFindClassByName rejecting ‘org/cocos2dx/lib/Cocos2dxLocalStorage’
D/cocos2d-x debug info(14800): (evaluatedOK == JS_FALSE)