I/HwCust: Constructor found for class android.app.HwCustActivityImpl
W/System.err: org.json.JSONException: No value for serviceClassPath
W/System.err: at org.json.JSONObject.get(JSONObject.java:389)
W/System.err: at org.json.JSONObject.getJSONArray(JSONObject.java:584)
W/System.err: at org.hwqp.cocos2d.sluggardRecreation.SDKWrapper.loadSDKClass(SDKWrapper.java:71)
W/System.err: at org.hwqp.cocos2d.sluggardRecreation.SDKWrapper.setGLSurfaceView(SDKWrapper.java:103)
W/System.err: at org.hwqp.cocos2d.sluggardRecreation.AppActivity.onCreateView(AppActivity.java:234)
W/System.err: at org.cocos2dx.lib.Cocos2dxActivity.addSurfaceView(Cocos2dxActivity.java:469)
W/System.err: at org.cocos2dx.lib.Cocos2dxActivity.init(Cocos2dxActivity.java:263)
W/System.err: at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:356)
W/System.err: at org.hwqp.cocos2d.sluggardRecreation.AppActivity.onCreate(AppActivity.java:129)
W/System.err: at android.app.Activity.performCreate(Activity.java:6910)
W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2757)
W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2875)
W/System.err: at android.app.ActivityThread.-wrap12(ActivityThread.java)
W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1578)
W/System.err: at android.os.Handler.dispatchMessage(Handler.java:105)
W/System.err: at android.os.Looper.loop(Looper.java:156)
W/System.err: at android.app.ActivityThread.main(ActivityThread.java:6623)
W/System.err: at java.lang.reflect.Method.invoke(Native Method)
W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)
W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
W/System.err: java.lang.NoSuchFieldException: layoutInDisplayCutoutMode
W/System.err: at java.lang.Class.getField(Class.java:1549)
W/System.err: at org.cocos2dx.lib.Cocos2dxActivity.init(Cocos2dxActivity.java:275)
W/System.err: at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:356)
W/System.err: at org.hwqp.cocos2d.sluggardRecreation.AppActivity.onCreate(AppActivity.java:129)
W/System.err: at android.app.Activity.performCreate(Activity.java:6910)
W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2757)
W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2875)
W/System.err: at android.app.ActivityThread.-wrap12(ActivityThread.java)
W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1578)
W/System.err: at android.os.Handler.dispatchMessage(Handler.java:105)
W/System.err: at android.os.Looper.loop(Looper.java:156)
W/System.err: at android.app.ActivityThread.main(ActivityThread.java:6623)
W/System.err: at java.lang.reflect.Method.invoke(Native Method)
W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)
W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
I/SendBroadcastPermission: action:com.tencent.mm.plugin.openapi.Intent.ACTION_HANDLE_APP_REGISTER, mPermissionType:0
I/AppActivity: ==>>WeiXin InitSuccess
这是运行完整包的日志,可以正常进入登录界面。不会黑屏。