安卓打包黑屏 希望官网大佬看一下 我找不到原因

2019-06-04 23:03:50.292 2831-2831/? I/Timeline: Timeline: Activity_launch_request time:245445490 intent:Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.libhx.hzmj/org.cocos2dx.javascript.AppActivity bnds=[82,679][250,847] (has extras) }
2019-06-04 23:03:50.295 1407-12483/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.libhx.hzmj/org.cocos2dx.javascript.AppActivity bnds=[82,679][250,847] (has extras)} from uid 10020
2019-06-04 23:03:50.306 573-573/? E/ANDR-IOP: IOP HAL: Received pkg_name = com.libhx.hzmj pid = -1
2019-06-04 23:03:50.308 1407-12483/? W/WindowManager: Attempted to set focus to non-existing app token: Token{fe1be57 ActivityRecord{966bd44 u0 com.libhx.hzmj/org.cocos2dx.javascript.AppActivity t617}}
2019-06-04 23:03:50.310 1407-12483/? D/ActivityTrigger: activityStartTrigger: Activity is Triggerred in full screen ApplicationInfo{5017e2d com.libhx.hzmj}
2019-06-04 23:03:50.310 1407-12483/? E/ActivityTrigger: activityStartTrigger: not whiteListedcom.libhx.hzmj/org.cocos2dx.javascript.AppActivity/1
2019-06-04 23:03:50.311 1407-12483/? D/ActivityTrigger: activityResumeTrigger: The activity in ApplicationInfo{5017e2d com.libhx.hzmj} is now in focus and seems to be in full-screen mode
2019-06-04 23:03:50.311 1407-12483/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.libhx.hzmj/org.cocos2dx.javascript.AppActivity/1
2019-06-04 23:03:50.316 1407-11741/? D/ActivityTrigger: activityResumeTrigger: The activity in ApplicationInfo{5017e2d com.libhx.hzmj} is now in focus and seems to be in full-screen mode
2019-06-04 23:03:50.316 1407-11741/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.libhx.hzmj/org.cocos2dx.javascript.AppActivity/1
2019-06-04 23:03:50.328 1407-11741/? D/Boost: hostingType=activity, hostingName=com.libhx.hzmj/org.cocos2dx.javascript.AppActivity, callerPackage=com.miui.home, isSystem=true, isBoostNeeded=false.
2019-06-04 23:03:50.328 1407-11741/? I/ActivityManager: Start proc 5962:com.libhx.hzmj/u0a1161 for activity com.libhx.hzmj/org.cocos2dx.javascript.AppActivity caller=com.miui.home
2019-06-04 23:03:50.328 3696-4257/? D/PowerKeeper.Event: notifyAMProcStart processName: 11161 reason: com.libhx.hzmj, pid:0
2019-06-04 23:03:50.532 5962-5962/? D/AccessibilityManager: AccessibilityManager status: mPackageName = com.libhx.hzmj, mOptimizeEnabled = false, mIsEnabled = true, mIsUiAutomationEnabled = false, mIsInterestedPackage =false
2019-06-04 23:03:50.579 5962-5991/? I/ContentCatcher: Interceptor : Catcher list invalid for com.libhx.hzmj@org.cocos2dx.javascript.AppActivity@12292233
2019-06-04 23:03:51.639 1407-1537/? I/ActivityManager: Displayed com.libhx.hzmj/org.cocos2dx.javascript.AppActivity: +1s321ms
2019-06-04 23:03:51.643 3696-4257/? D/PowerKeeper.Event: notifyActivityLaunchTime: com.libhx.hzmj/org.cocos2dx.javascript.AppActivity totalTime: 1321
2019-06-04 23:03:51.643 573-573/? E/ANDR-IOP: IOP HAL: Received pkg_name = com.libhx.hzmj pid = 5962
2019-06-04 23:03:51.644 1407-1537/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{966bd44 u0 com.libhx.hzmj/org.cocos2dx.javascript.AppActivity t617} time:245446842
2019-06-04 23:03:51.660 1407-1537/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{966bd44 u0 com.libhx.hzmj/org.cocos2dx.javascript.AppActivity t617} time:245446858
2019-06-04 23:03:51.671 1407-1800/? I/WindowManager: Screen frozen for +1s328ms due to Window{cbb4de9 u0 com.libhx.hzmj/org.cocos2dx.javascript.AppActivity}
2019-06-04 23:04:10.253 1407-1537/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{966bd44 u0 com.libhx.hzmj/org.cocos2dx.javascript.AppActivity t617} time:245465451

我把第一个场景的脚本都清了 确保不掉任何脚本 打包后就黑屏

打包apk正常 启动黑屏 但是亮了一下下 就暗了

代码回退 没问题 全局事件可能没写好