一开始打包闪退 然后在SDKWrapper.java里改了private final static boolean PACKAGE_AS = false;
现在不闪退了变黑屏了
以下是日志
2019-01-10 15:16:08.570 7436-7436/? D/WallpaperManager: getDefaultWallpaper in decodeStream cost time: 158ms
2019-01-10 15:16:08.575 20666-20666/? D/com.fm.cs3.android: 渠道=====5b5890a1a40fa3106000003c
2019-01-10 15:16:08.580 20666-20666/? D/com.fm.cs3.android: 有没有友盟
2019-01-10 15:16:08.580 20666-20666/? D/com.fm.cs3.android: SDKWrapper
2019-01-10 15:16:08.580 20666-20666/? D/com.fm.cs3.android: SDKWrapperhasjfhxjvbz
2019-01-10 15:16:08.581 20666-20666/? D/ActivityThread: add activity client record, r= ActivityRecord{ec86041 token=android.os.BinderProxy@7b257aa {com.tencent.tmgp.moba.lob/org.cocos2dx.javascript.AppActivity}} token= android.os.BinderProxy@7b257aa
2019-01-10 15:16:08.581 20666-20666/? D/ZrHung.AppEyeUiProbe: notify runnable to start.
2019-01-10 15:16:08.583 20666-20666/? D/Cocos2dxActivity: onResume()
2019-01-10 15:16:08.583 20666-20666/? V/AudioManager: requestAudioFocus streamType: 3 durationHint: 1
2019-01-10 15:16:08.583 20666-20666/? V/AudioManager: registerAudioFocusListener…
2019-01-10 15:16:08.585 1233-15253/? I/MediaFocusControl: requestAudioFocus() from uid/pid 10205/20666 clientId=android.media.AudioManager@beaf9e6org.cocos2dx.lib.Cocos2dxAudioFocusManager$1@914ab27 callingPack=com.tencent.tmgp.moba.lob req=1 flags=0x0 sdk=27
2019-01-10 15:16:08.585 1233-15253/? I/HwPCUtils#HwMediaFocusControl: isMediaForDPExternalDisplay aa = AudioAttributes: usage=USAGE_MEDIA content=CONTENT_TYPE_MUSIC flags=0x0 tags= bundle=null, clientId = android.media.AudioManager@beaf9e6org.cocos2dx.lib.Cocos2dxAudioFocusManager$1@914ab27, pkgName = com.tencent.tmgp.moba.lob, mInDestopMode = false, uid = 10205
2019-01-10 15:16:08.585 1233-15253/? I/HwPCUtils#MediaFocusControl: requestAudioFocus isInExternalDisplay = false
2019-01-10 15:16:08.585 1233-15253/? V/AudioService.PlaybackActivityMonitor: unduckPlayers: uids winner=10205
2019-01-10 15:16:08.585 1233-15253/? V/AudioService.PlaybackActivityMonitor: DuckingManager: unduckUid() uid:10205
2019-01-10 15:16:08.585 20666-20666/? D/AudioFocusManager: requestAudioFocus succeed
2019-01-10 15:16:08.586 1943-1943/? W/HwKeyguardDragHelper: AnimationBlocked
2019-01-10 15:16:08.587 1233-5330/? I/PackageManager: getInstalledPackages cost 2 ms, flags: 786432, userId: 0, callingUid: 10205, callingPid: 20724
2019-01-10 15:16:08.587 2173-2293/? D/PGAudioState: audio focus pkg: com.tencent.tmgp.moba.lob from pid: 1233
2019-01-10 15:16:08.587 2173-2293/? I/AppManager: audio start play: com.tencent.tmgp.moba.lob
2019-01-10 15:16:08.588 20666-20701/? W/t.tmgp.moba.lo: resources.arsc in APK ‘/data/app/com.sankuai.meituan-Nvos_qz6DFSj7P4L3OrV0A==/base.apk’ is compressed.
2019-01-10 15:16:08.590 20666-20666/? D/HwAppInnerBoostImpl: set config for com.tencent.tmgp.moba.lob BOOST_FLAG=true REPORT_DURATION_CLICK=1000 REPORT_TIMES_CLICK=3 REPORT_DURATION_SLIDE=5000 REPORT_TIMES_SLIDE=16
2019-01-10 15:16:08.591 20666-20666/? D/OpenGLRenderer: HWUI Binary is enabled
2019-01-10 15:16:08.591 20666-20666/? D/OpenGLRenderer: disableOutlineDraw is true
2019-01-10 15:16:08.598 1233-15253/? V/WindowManager: addWindow: Window{43b984b u0 com.tencent.tmgp.moba.lob/org.cocos2dx.javascript.AppActivity}
2019-01-10 15:16:08.598 1233-15253/? D/HwGameAssistantController: pid=20666, uid=10205, component=ComponentInfo{com.tencent.tmgp.moba.lob/org.cocos2dx.javascript.AppActivity}
2019-01-10 15:16:08.598 1233-15253/? D/HISTREAM_WECHAT: activityResumed:pid=20666, uid=10205, component=ComponentInfo{com.tencent.tmgp.moba.lob/org.cocos2dx.javascript.AppActivity}
2019-01-10 15:16:08.598 1233-15253/? D/HiData_HwAPPQoEResourceMangerImpl: checkIsMonitorVideoScence input :com.tencent.tmgp.moba.lob,org.cocos2dx.javascript.AppActivity
2019-01-10 15:16:08.598 1233-15253/? D/HISTREAM_WECHAT: mHwAPPQoEAPKConfig is null
2019-01-10 15:16:08.600 1233-1249/? W/HwActivityManagerServiceEx: HwActivityNotifier end call android.app.IHwActivityNotifier$Stub$Proxy@40637e1 for activityLifeState under user 0 cost 0
2019-01-10 15:16:08.600 1233-1249/? W/HwActivityManagerServiceEx: HwActivityNotifier end call android.app.IHwActivityNotifier$Stub$Proxy@fb0f517 for activityLifeState under user 0 cost 0
2019-01-10 15:16:08.600 2123-17778/? I/OPCollectLog: AppChangeImpl:pid: 20666 uid: 10205 pkg: com.tencent.tmgp.moba.lob class: org.cocos2dx.javascript.AppActivity
2019-01-10 15:16:08.600 2123-2341/? I/OPCollectLog: HwForegroundAppAction:handleMessage
2019-01-10 15:16:08.600 1233-6693/? D/HiData_HwAPPQoEActivityMonitor: handleActivityChange, curPackage:com.tencent.tmgp.moba.lob, curClass:org.cocos2dx.javascript.AppActivity
2019-01-10 15:16:08.600 1233-6693/? D/HiData_HwAPPQoEResourceMangerImpl: checkIsMonitorAPKScence input :com.tencent.tmgp.moba.lob,org.cocos2dx.javascript.AppActivity
2019-01-10 15:16:08.600 1233-6693/? D/HiData_HwAPPQoEResourceMangerImpl: checkIsMonitorAPKScence input :com.tencent.tmgp.moba.lob,null
2019-01-10 15:16:08.600 1233-6693/? D/HiData_HwAPPQoEResourceMangerImpl: checkIsMonitorGameScence input :com.tencent.tmgp.moba.lob
2019-01-10 15:16:08.600 1233-6693/? D/HiData_HwAPPQoEActivityMonitor: handleActivityChange, it is not a care app or scence
2019-01-10 15:16:08.600 1233-6693/? D/HiData_HwAPPQoEActivityMonitor: handleActivityChange, curr mAppType:-1, lastType:-1
2019-01-10 15:16:08.600 1233-1263/? D/HwGameAssistantController: UPDATE: mCurFgPkg=com.tencent.tmgp.moba.lob, mCurFgPid=20666, mCurIsGame=false
2019-01-10 15:16:08.600 2123-2341/? I/OPCollectLog: Action:HwForegroundAppAction executed successfully
2019-01-10 15:16:08.602 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.603 684-684/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 14 lines
2019-01-10 15:16:08.603 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.612 2123-2342/? I/OPCollectLog: OdmfHelper:insert dsCollectEncrypt success
2019-01-10 15:16:08.614 6017-6055/? I/[HwRecSys]OdmfCollectScheduler: handleMessage msg: 6
2019-01-10 15:16:08.614 6017-6055/? I/[HwRecSys]HwRecSysService: cur pkg: com.tencent.tmgp.moba.lob
2019-01-10 15:16:08.618 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.619 1233-1982/? I/WindowManager: orientation change is complete, call stopFreezingDisplayLocked
2019-01-10 15:16:08.619 1233-1982/? D/WindowManager: stopFreezingDisplayLocked: Returning mWaitingForConfig=false, mAppsFreezingScreen=1, mWindowsFreezingScreen=0, mClientFreezingScreen=false, mOpeningApps.size()=0
2019-01-10 15:16:08.620 1233-1982/? I/WindowManager: relayoutVisibleWindow: set isFormatChanged
2019-01-10 15:16:08.619 684-684/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 14 lines
2019-01-10 15:16:08.619 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.620 1233-2244/? E/WifiService: enforceCanAccessScanResults: hiding ssid and bssidUID 10205 has no location permission
2019-01-10 15:16:08.624 1233-17015/? E/WifiService: enforceCanAccessScanResults: hiding ssid and bssidUID 10205 has no location permission
2019-01-10 15:16:08.628 1233-1982/? V/HwPhoneWindowManager: updateSystemUiColorLw window=Window{43b984b u0 com.tencent.tmgp.moba.lob/org.cocos2dx.javascript.AppActivity},EmuiStyle=0,StatusBarColor=0xff000000,NavigationBarColor=0xfffcfcfc, mLastIsEmuiLightStyle=-1, mForceNotchStatusBar=false
2019-01-10 15:16:08.629 1233-1982/? D/ZrHung.AppEyeFocusWindow: FocusWindowErrorScene cancelCheckFreezeScreen
2019-01-10 15:16:08.629 1233-1982/? D/ZrHung.AppEyeTransparentWindow: TransparentWindow mHungConfigStatus = 0,mHungConfigEnable = 1
2019-01-10 15:16:08.629 1233-1252/? D/HwPhoneWindowManager: Transact:setSystemUIColor to status bar service
2019-01-10 15:16:08.630 1943-7352/? I/CommandQueue: updateBarBgColor
2019-01-10 15:16:08.630 1943-7352/? D/CommandQueue: CommandQueue, setBarBackgroundColor
2019-01-10 15:16:08.630 1943-1943/? D/TintManager: statusBarIconTint=99ffffff,navigationBarIconTint=99000000
2019-01-10 15:16:08.631 1368-1376/? E/OAM: [oam_netlink_recv_pthread:780]netlink recv NULL package…;errno:No buffer space available,len is 0
2019-01-10 15:16:08.635 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.636 684-684/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 14 lines
2019-01-10 15:16:08.636 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.636 1943-1943/? D/StatusBarIconController: setIconVisibility icon is null or visibility not change visibility=false
2019-01-10 15:16:08.637 1233-17015/? D/PackageManager: resolve intent for uid:10205, matchs:2, res:ResolveInfo{ac8e228 com.huawei.android.launcher/.unihome.UniHomeLauncher m=0x108000}
2019-01-10 15:16:08.637 1943-1943/? D/BarTransitions.HwPhoneStatusBarView: MODE_TRANSPARENT -> MODE_OPAQUE animate=false
2019-01-10 15:16:08.637 1943-1943/? D/BarTransitions.HwPhoneStatusBarView: applyModeBackground oldMode=MODE_TRANSPARENT newMode=MODE_OPAQUE animate=false
2019-01-10 15:16:08.639 1233-1784/? D/HwPhoneWindowManager: Window issued fillet display val = 1, mIsNotchSwitchOpen = false, mDisplayRotation = 1
2019-01-10 15:16:08.639 1233-1233/? I/WindowManager: notifyAccessibilityButtonVisibilityChanged visible:false
2019-01-10 15:16:08.639 20666-20737/? I/HiTouch_HiTouchSensor: enabledInPad = false,isPcCastMode = false
2019-01-10 15:16:08.639 684-837/? D/RoundCornerDisplay: [onHideStatusChanged]mNotchStatus change from 0 to 1
2019-01-10 15:16:08.639 684-837/? D/RoundCornerDisplay: [setSurfaceState]Change state for two surfaces
2019-01-10 15:16:08.639 684-837/? D/RoundCornerDisplay: [setTopSurfaceOrientationState]setTopSurfaceOrientationState, orientation =1, lastOrientation=0
2019-01-10 15:16:08.639 684-837/? D/RoundCornerDisplay: [setTopSurfaceOrientationState]mTopSurfaceDispMode:0, mNotchStatus:1, pos(0.000000, 1080.000000), size(1080, 195)
2019-01-10 15:16:08.640 684-837/? D/RoundCornerDisplay: [setTopSurfaceOrientationState]mIsRogMode=0, rogScale =1.000000, LayerTop pos(0.000000, 1080.000000) size(1080, 195)
2019-01-10 15:16:08.640 684-837/? D/RoundCornerDisplay: [setSurfaceOrientationState]Update top surface GeometryState until fixed
2019-01-10 15:16:08.640 684-837/? D/RoundCornerDisplay: [setBottomSurfaceOrientationState]setBottomSurfaceOrientationState, orientation =1, lastOrientation=0
2019-01-10 15:16:08.640 684-837/? D/RoundCornerDisplay: [setBottomSurfaceOrientationState]LayerBottom pos(2220.000000, 1080.000000) size(1080, 120)
2019-01-10 15:16:08.640 684-837/? D/RoundCornerDisplay: [setSurfaceOrientationState]Update bottom surface GeometryState until fixed
2019-01-10 15:16:08.651 684-837/? D/RoundCornerDisplay: [onHideStatusChanged] =====> driver to draw!!
2019-01-10 15:16:08.652 684-2887/? D/RoundCornerDisplay: [threadLoop]rcd start drawing, mSupportTopSurface:1, mSupportBottomSurface:1
2019-01-10 15:16:08.652 684-2887/? D/RoundCornerDisplay: [rcdChooseShowBmpResource]prepare mBmpTopLadsOrit resource
2019-01-10 15:16:08.652 684-2887/? D/RoundCornerDisplay: [threadLoop]Draw top layer
2019-01-10 15:16:08.652 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.652 684-2887/? D/RoundCornerDisplay: [rcdChooseShowBmpResource]prepare mBmpTopLadsOrit resource
2019-01-10 15:16:08.652 684-2887/? D/RoundCornerDisplay: [threadLoop]Draw top layer
2019-01-10 15:16:08.652 684-684/? I/chatty: uid=1000(system) /system/bin/surfaceflinger expire 14 lines
2019-01-10 15:16:08.652 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.653 650-5255/? I/GRALLOC: getCallingPid=684, shrFd=31,fmt=0x1,intFmt=0x1,btStrd=4352,size=856064,pid=650
yuv=2,w=1080,h=195,Stride u=0 v=0,offset u=0 v=0
iova_size=856064,conUsg=0x906,proUsg=0x966, strd=1088,[afbc]HdrStrd=0 PyldStrd=0 Scrmbl=0,ionhnd = 1
2019-01-10 15:16:08.654 650-1008/? I/GRALLOC: getCallingPid=684, shrFd=33,fmt=0x1,intFmt=0x1,btStrd=512,size=1200128,pid=650
yuv=2,w=75,h=2340,Stride u=0 v=0,offset u=0 v=0
iova_size=1200128,conUsg=0xb00,proUsg=0xb00, strd=128,[afbc]HdrStrd=0 PyldStrd=0 Scrmbl=0,ionhnd = 2
2019-01-10 15:16:08.654 684-2887/? D/RoundCornerDisplay: [drawBitmapOnSurface]GraphicBuffer Width = 1080, Height = 195, Stride = 1088
2019-01-10 15:16:08.654 684-2887/? D/RoundCornerDisplay: [threadLoop]Draw bottom layer
2019-01-10 15:16:08.654 650-1008/? I/GRALLOC: getCallingPid=684, shrFd=33,fmt=0x1,intFmt=0x1,btStrd=4352,size=524288,pid=650
yuv=2,w=1080,h=120,Stride u=0 v=0,offset u=0 v=0
iova_size=524288,conUsg=0x906,proUsg=0x966, strd=1088,[afbc]HdrStrd=0 PyldStrd=0 Scrmbl=0,ionhnd = 2
2019-01-10 15:16:08.655 684-2887/? D/RoundCornerDisplay: [drawBitmapOnSurface]GraphicBuffer Width = 1080, Height = 120, Stride = 1088
2019-01-10 15:16:08.664 1233-1883/? D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
2019-01-10 15:16:08.668 7436-7436/? D/WallpaperManager: getDefaultWallpaper in scaleWallpaperBitmapToScreenSize cost time: 98ms
2019-01-10 15:16:08.669 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.669 684-684/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 4 lines
2019-01-10 15:16:08.669 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.669 7436-7436/? D/HwWallpaperManager: Parse offsets:-1,-1,-1,-1
2019-01-10 15:16:08.670 7436-7436/? W/HwWallpaperManager: Create default square bitmap error, run generateBitmap!
2019-01-10 15:16:08.670 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.670 684-684/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 8 lines
2019-01-10 15:16:08.670 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.673 20666-20733/? I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
2019-01-10 15:16:08.673 20666-20733/? I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
2019-01-10 15:16:08.674 20666-20733/? I/iGraphics: [0020080c] pn: com.tencent.tmgp.moba.lob, p: 20666
2019-01-10 15:16:08.675 20666-20733/? I/iGraphics: [0030080c] no spt app: com.tencent.tmgp.moba.lob
2019-01-10 15:16:08.675 20666-20733/? I/OpenGLRenderer: Initialized EGL, version 1.4
2019-01-10 15:16:08.675 20666-20733/? D/OpenGLRenderer: Swap behavior 2
2019-01-10 15:16:08.678 20666-20709/? I/iGraphics: [0030080c] opt app: 0
2019-01-10 15:16:08.682 20666-20733/? D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
2019-01-10 15:16:08.682 20666-20709/? D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
2019-01-10 15:16:08.682 20666-20709/? D/main: cocos_android_app_init
2019-01-10 15:16:08.683 20666-20709/? D/JniImp: nativeInit: 2265, 1080,
2019-01-10 15:16:08.684 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.685 684-684/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 4 lines
2019-01-10 15:16:08.685 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.685 1233-1883/? D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
2019-01-10 15:16:08.685 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.685 684-684/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 8 lines
2019-01-10 15:16:08.685 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.687 7436-7436/? D/WallpaperManager: getDefaultWallpaper createDefaultWallpaperBitmap cost time: 19ms
2019-01-10 15:16:08.687 7436-7436/? D/HiBoard_ColorManager: get_wallpaper1_else_sourceBmp.getWidth=1080sourceBmp.getHeight=2340
2019-01-10 15:16:08.688 20666-20709/? D/jswrapper: Initializing V8, version: 6.5.254.43
2019-01-10 15:16:08.689 7436-7436/? I/HiBoard_ColorManager: isFixedScreen bmW bmH max min:1080 2340 2340 1080
2019-01-10 15:16:08.689 7436-7436/? D/HiBoard_ColorManager: drawBitmap tempBmp_width = 1080, tempbmp_height = 2340, isFixedScreen = true
2019-01-10 15:16:08.689 7436-7436/? D/HiBoard_ColorManager: getWallPaperBitmap() left = 0, src = Rect(0, 0 - 1080, 2340), dst = Rect(0, 0 - 1080, 2340)
2019-01-10 15:16:08.691 7436-7436/? D/HiBoard_ReflectionColor: get_wallpaper_result_width:1080result_height:2340Configuration.orientation:2
2019-01-10 15:16:08.691 7436-7436/? I/HiBoard_BlurUtils: sourceWidth = 1080, sourceHeight = 2340, newHeight = 1080, newWidth = 2340
2019-01-10 15:16:08.694 7436-7436/? I/HiBoard_BlurUtils: targetRect = RectF(0.0, -1995.0, 2340.0, 3075.0), newHeight = 1080, newWidth = 2340
2019-01-10 15:16:08.695 20666-20701/? W/t.tmgp.moba.lo: resources.arsc in APK ‘/data/app/com.tencent.qqmusic-CPFqIXLLE-alsImnhNwjaw==/base.apk’ is compressed.
2019-01-10 15:16:08.695 7436-7436/? I/HiBoard_ReflectionColor: getSuggestColorInfo::isStatusBarArea=true, colorMSD=2597, average color=127, color type=1, mask type=2
2019-01-10 15:16:08.696 7436-7436/? I/HiBoard_ReflectionColor: getSuggestColorInfo::isStatusBarArea=false, colorMSD=4981, average color=103, color type=2, mask type=0
2019-01-10 15:16:08.696 7436-7436/? I/HiBoard_ReflectionColor: Cover::useMask=2, avgColorType=2
2019-01-10 15:16:08.696 7436-7436/? I/HiBoard_ReflectionColor: Cover::useMask=2 setCoverIsShow(true)
2019-01-10 15:16:08.696 7436-7436/? I/HiBoard_Workspace: Cover Bac show
2019-01-10 15:16:08.696 7436-7436/? I/HiBoard_Workspace: Cover show
2019-01-10 15:16:08.701 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.702 684-684/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 14 lines
2019-01-10 15:16:08.702 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.708 650-5255/? I/GRALLOC: getCallingPid=684, shrFd=31,fmt=0x1,intFmt=0x200000001,btStrd=4352,size=10043392,pid=650
yuv=2,w=1080,h=2265,Stride u=0 v=0,offset u=0 v=0
iova_size=10043392,conUsg=0xb00,proUsg=0xb00, strd=1088,[afbc]HdrStrd=1088 PyldStrd=69632 Scrmbl=2,ionhnd = 1
2019-01-10 15:16:08.712 7436-7436/? I/HiBoard_ReflectionColor: initBitmap X mScale = 0.07053456
2019-01-10 15:16:08.717 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.718 684-684/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 14 lines
2019-01-10 15:16:08.718 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.723 20666-20666/? I/ViewRootImpl: jank_removeInvalidNode jank list is null
2019-01-10 15:16:08.723 20666-20666/? D/Cocos2dxActivity: onWindowFocusChanged() hasFocus=true
2019-01-10 15:16:08.725 1233-1883/? W/libEGL: EGLNativeWindowType 0x7d9e1f5010 disconnect failed
2019-01-10 15:16:08.725 1233-1883/? D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
2019-01-10 15:16:08.726 20666-20666/? W/InputMethodManager: startInputReason = 1
2019-01-10 15:16:08.731 7436-7436/? I/HiBoard_ReflectionColor: SearChViewTag start BitmapDrawable
2019-01-10 15:16:08.731 7436-7436/? I/HiBoard_Workspace: SearChViewTag getHwWallpaperBlurBitmapByArea
2019-01-10 15:16:08.731 7436-7436/? I/HiBoard_Workspace: SearChViewTag return drawable;
2019-01-10 15:16:08.732 7436-7436/? I/HiBoard_ColorObserverManager: getColorMap() rect = Rect(0, 0 - 47, 22), fontColor = #FFD9FEFF, shadowColor = #FF003133
2019-01-10 15:16:08.732 7436-7436/? I/HiBoard_ColorObserverManager: scrollElementNum = 34, cardNum = 14
2019-01-10 15:16:08.732 7436-7436/? I/HiBoard_SearchBarLayout: onScrollChange() fontColor = -2490625, mAlpha = 1.0, color = -858128641
2019-01-10 15:16:08.732 7436-7436/? I/HiBoard_ColorObserverManager: dispatchColorListener() mainColor = #FFF3FEFF
2019-01-10 15:16:08.734 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.734 684-684/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 3 lines
2019-01-10 15:16:08.734 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.734 7436-7436/? I/HiBoard_ReflectionColorListView: mListener.getReflectionColor(color)
2019-01-10 15:16:08.734 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.735 684-684/? I/chatty: uid=1000(system) /system/bin/surfaceflinger identical 9 lines
2019-01-10 15:16:08.735 684-684/? D/Layer: Skip in Layer::computeScreenBounds 1
2019-01-10 15:16:08.736 7436-19955/? W/libEGL: EGLNativeWindowType 0x7da71f5010 disconnect failed
2019-01-10 15:16:08.736 7436-19955/? D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
2019-01-10 15:16:08.737 650-5255/? I/GRALLOC: getCallingPid=684, shrFd=31,fmt=0x1,intFmt=0x1,btStrd=256,size=581632,pid=650
yuv=2,w=54,h=2265,Stride u=0 v=0,offset u=0 v=0
iova_size=581632,conUsg=0xb00,proUsg=0xb00, strd=64,[afbc]HdrStrd=0 PyldStrd=0 Scrmbl=0,ionhnd = 1
2019-01-10 15:16:08.739 20666-20666/? W/InputMethodManager: startInputReason = 5
2019-01-10 15:16:08.741 7436-7436/? W/StaticLayout: maxLineHeight should not be -1. maxLines:1 lineCount:1
2019-01-10 15:16:08.742 7436-7436/? I/chatty: uid=10033(com.huawei.intelligent) identical 22 lines
2019-01-10 15:16:08.742 7436-7436/? W/StaticLayout: maxLineHeight should not be -1. maxLines:1 lineCount:1
2019-01-10 15:16:08.745 7436-7436/? D/HiBoard_FlowLayout: view_refresh_head_load
2019-01-10 15:16:08.745 7436-7436/? D/HiBoard_DragAdapter: convert() position = 0
2019-01-10 15:16:08.745 7436-7436/? I/HiBoard_DragAdapter: convert viewGroup,hasInsertAdView:false
2019-01-10 15:16:08.745 7436-7436/? I/HiBoard_ReflectionColorTextView: onDetachedFromWindow()
2019-01-10 15:16:08.745 7436-7436/? I/chatty: uid=10033(com.huawei.intelligent) identical 1 line
2019-01-10 15:16:08.745 7436-7436/? I/HiBoard_ReflectionColorTextView: onDetachedFromWindow()
2019-01-10 15:16:08.746 7436-7436/? I/HiBoard_ReflectionColorTextView: onAttachedToWindow()
2019-01-10 15:16:08.746 7436-7436/? I/chatty: uid=10033(com.huawei.intelligent) identical 1 line
2019-01-10 15:16:08.746 7436-7436/? I/HiBoard_ReflectionColorTextView: onAttachedToWindow()
2019-01-10 15:16:08.746 7436-7436/? I/HiBoard_DragAdapter: convert position,position No:0,mData tempModel Name:股票灯塔#炒股,tempModel packageName:com.dengtacj.stock,tempModel serviceName:Gupiaodengta_Stocks,tempModel iconUrl:http://hiboard.dbankcdn.com/hiboard-res/1532685631680.png
2019-01-10 15:16:08.746 7436-7436/? I/HiBoard_DragAdapter: convert() iconType TYPE_URL
2019-01-10 15:16:08.746 7436-7436/? I/HiBoard_Instantaccess log: setIcon() iconUrl =http://hiboard.dbankcdn.com/hiboard-res/1532685631680.png
2019-01-10 15:16:08.746 1368-1376/? E/OAM: [oam_netlink_recv_pthread:780]netlink recv NULL package…;errno:No buffer space available,len is 0
2019-01-10 15:16:08.746 7436-7436/? I/HiBoard_Utils: setIcon() onResourceReady() iconUrl =http://hiboard.dbankcdn.com/hiboard-res/1532685631680.png, isFromMemoryCache =true,isFirstResource =true
2019-01-10 15:16:08.746 7436-20074/? D/HiBoard_ReportHelper: event id=1006 event Context={type=1, costTime=0}
2019-01-10 15:16:08.747 7436-7436/? D/HiBoard_DragAdapter: convert() position = 1
2019-01-10 15:16:08.747 7436-7436/? I/HiBoard_DragAdapter: convert position,position No:1,mData tempModel Name:支付宝#付款码,tempModel packageName:com.eg.android.AlipayGphone,tempModel serviceName:Zhifubao_Payment_Code,tempModel iconUrl:http://hiboard.dbankcdn.com/hiboard-res/1502355826045.png
2019-01-10 15:16:08.747 7436-7436/? I/HiBoard_DragAdapter: convert() iconType TYPE_URL
2019-01-10 15:16:08.747 7436-7436/? I/HiBoard_Instantaccess log: setIcon() iconUrl =http://hiboard.dbankcdn.com/hiboard-res/1502355826045.png
2019-01-10 15:16:08.747 20666-20701/? W/t.tmgp.moba.lo: resources.arsc in APK ‘/data/app/com.sgcc.cs-mb3B_gGGbXcSfqII8aUbJA==/base.apk’ is compressed.
2019-01-10 15:16:08.747 7436-7436/? I/HiBoard_Utils: setIcon() onResourceReady() iconUrl =http://hiboard.dbankcdn.com/hiboard-res/1502355826045.png, isFromMemoryCache =true,isFirstResource =true
2019-01-10 15:16:08.747 7436-20074/? D/HiBoard_ReportHelper: event id=1006 event Context={type=1, costTime=7429}
2019-01-10 15:16:08.747 7436-7436/? D/HiBoard_DragAdapter: convert() position = 2
顶顶顶
01-10 15:42:53.922 32381 32433 E jswrapper: [ERROR] Failed to invoke require, location: F:/xxqz/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_global.cpp:292
01-10 15:42:54.059 32381 32433 D jswrapper: JS: ---- open log ----
01-10 15:42:54.080 32381 32433 D jswrapper: JS: network api->browser
01-10 15:42:54.193 32381 32433 E jswrapper: ScriptEngine::onGetStringFromFile src/anysdk/jsb_anysdk.js not found, possible missing file.
01-10 15:42:54.193 32381 32433 E jswrapper: ScriptEngine::runScript script src/anysdk/jsb_anysdk.js, buffer is empty!
01-10 15:42:54.193 32381 32433 E jswrapper: [ERROR] Failed to invoke require, location: F:/xxqz/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_global.cpp:292
01-10 15:42:54.193 32381 32433 E jswrapper: ScriptEngine::onGetStringFromFile src/anysdk/jsb_anysdk_constants.js not found, possible missing file.
01-10 15:42:54.193 32381 32433 E jswrapper: ScriptEngine::runScript script src/anysdk/jsb_anysdk_constants.js, buffer is empty!
01-10 15:42:54.193 32381 32433 E jswrapper: [ERROR] Failed to invoke require, location: F:/xxqz/jsb-default/frameworks/cocos2d-x/cocos/scripting/js-bindings/manual/jsb_global.cpp:292
01-10 15:42:54.201 32381 32433 D jswrapper: glGetIntegerv: pname: 0x8b4c
01-10 15:42:54.211 32381 32433 D jswrapper: JS: Cocos Creator v2.0.7
01-10 15:42:54.238 32381 32433 D jswrapper: JS: Create unpacker 03f9df0ba for 9cBFDv8J5BxYbk0ePkv96m
01-10 15:42:54.245 32381 32433 D jswrapper: Response failed, error buffer: HttpURLConnetcion init failed
01-10 15:42:54.246 32381 32433 D jswrapper: JS: [ERROR]: Error 4916, please go to https://github.com/cocos-creator/engine/blob/master/EngineErrorMap.md#4916 to see details. Arguments: 9cBFDv8J5BxYbk0ePkv96m
01-10 15:42:54.251 32381 32433 D jswrapper: JS: LoadScene 9cBFDv8J5BxYbk0ePkv96m: 13.413000000000011ms
01-10 15:42:54.251 32381 32433 D jswrapper: JS: [ERROR]: Failed to load scene: Error: [AssetLibrary] loading JSON or dependencies failed: undefined
2.0.7 的模板有变动,你需要清空 build 目录,构建出新的 android 项目。再合并自己定制的代码,比如 友盟
兄弟 这个问题有解决吗