HarmonyOS 鸿蒙Next React Native开发的app在鸿蒙系统上打开白屏进不去主页

发布于 1周前 作者 sinazl 来自 鸿蒙OS

HarmonyOS 鸿蒙Next React Native开发的app在鸿蒙系统上打开白屏进不去主页

有没有用react native开发App小伙伴,遇到如题的一个问题,也不是经常出现,

一出现打开我们的Rn应用就会继续白屏,打开其他的应用都是好的,

清理鸿蒙所有的后台进程,就可以进入应用主页了。

求指导~

7 回复
欢迎开发小伙伴们进来帮帮楼主
楼主你好,你反馈的问题应该属于兼容问题,最好导出相关日志以便于定位问题,另外可以向React Native第三方提问是都做了针对HarmonyOS系统适应性的处理

好的,我收集一下

日志如下,请高手帮忙指导下:

2021-11-18 11:06:41  11-18 11:06:41.509 30759 30759 E libc    : Access denied finding property "persist.device_config.runtime_native.use_app_image_startup_cache"

2021-11-18 11:06:41  11-18 11:06:41.510 30759 30759 E jyshop.meshoph: LoadAppImageStartupCache enabled : 1

2021-11-18 11:06:41  11-18 11:06:41.510 30759 30759 I jyshop.meshoph: Reinit property: dalvik.vm.checkjni= false

2021-11-18 11:06:41  11-18 11:06:41.510 30759 30759 I jyshop.meshoph: ReInitProperties: persist.vm.debug.dumpapi= false

2021-11-18 11:06:41  11-18 11:06:41.511 30759 30759 E jyshop.meshoph: Not starting debugger since process cannot load the jdwp agent.

2021-11-18 11:06:41  11-18 11:06:41.522 30759 30759 D ActivityThread: Attach thread to application

2021-11-18 11:06:41  11-18 11:06:41.536 30759 30777 I ActivityThread: Init compatible state: true

2021-11-18 11:06:41  11-18 11:06:41.536 30759 30777 D HwFrameworkSecurityPartsFactory: HwFrameworkSecurityPartsFactory in.

2021-11-18 11:06:41  11-18 11:06:41.536 30759 30777 I HwFrameworkSecurityPartsFactory: add HwFrameworkSecurityPartsFactory to memory.

2021-11-18 11:06:41  11-18 11:06:41.536 30759 30777 D BehaviorCollectManager: hook process for AI virus second

2021-11-18 11:06:41  11-18 11:06:41.537 30759 30777 I BehaviorCollectManager: bindAnalyzerService: huawei.android.security.IAppBehaviorDataAnalyzer$Stub$Proxy[@e2a68df](/user/e2a68df) pid:30759

2021-11-18 11:06:41  11-18 11:06:41.541 30759 30778 I HwPartIawareFactory: add android.common.HwPartIawareFactoryImpl to memory.

2021-11-18 11:06:41  11-18 11:06:41.545 30759 30759 D ApplicationLoaders: createClassLoader zip: /data/app/com.ejyshop.meshophm-P_MGu-lNcZKGcJ-XA2OTaQ==/base.apk librarySearchPath: /data/app/com.ejyshop.meshophm-P_MGu-lNcZKGcJ-XA2OTaQ==/lib/arm64:/data/app/com.ejyshop.meshophm-P_MGu-lNcZKGcJ-XA2OTaQ==/base.apk!/lib/arm64-v8a libraryPermittedPath: /data/user/0/com.ejyshop.meshophm parent: java.lang.BootClassLoader[@65bced1](/user/65bced1) targetSdkVersion: 29 isBundled: false classLoaderName: null sharedLibraries: null

2021-11-18 11:06:41  11-18 11:06:41.559 30759 30777 I HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=com.ejyshop.meshophm#11437#256

2021-11-18 11:06:41  11-18 11:06:41.559 30759 30777 I HwApiCacheMangerEx: need clear apicache,because volumes changed,oldCnt=0 newCnt=1

2021-11-18 11:06:41  11-18 11:06:41.559 30759 30777 I HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=com.ejyshop.meshophm#11437#0

2021-11-18 11:06:41  11-18 11:06:41.559 30759 30777 I HwApiCacheMangerEx: need clear apicache,because volumes changed,oldCnt=1 newCnt=1

2021-11-18 11:06:41  11-18 11:06:41.560 30759 30759 I MultiDex: VM with version 2.1.0 has multidex support

2021-11-18 11:06:41  11-18 11:06:41.560 30759 30759 I MultiDex: Installing application

2021-11-18 11:06:41  11-18 11:06:41.560 30759 30759 I MultiDex: VM has multidex support, MultiDex support library is disabled.

2021-11-18 11:06:41  11-18 11:06:41.561 30759 30759 I HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=com.ejyshop.meshophm#11437#256

2021-11-18 11:06:41  11-18 11:06:41.561 30759 30759 I HwApiCacheMangerEx: need clear apicache,because volumes changed,oldCnt=1 newCnt=1

2021-11-18 11:06:41  11-18 11:06:41.562 30759 30777 I AwareBitmapCacher: init processName:com.ejyshop.meshophm pid=30759 uid=11437

2021-11-18 11:06:41  11-18 11:06:41.566 30759 30759 I xjjjj ReactNative: mainApplication onCreate

2021-11-18 11:06:41  11-18 11:06:41.567 30759 30759 D SoLoader: init start

2021-11-18 11:06:41  11-18 11:06:41.567 30759 30759 D SoLoader: adding system library source: /vendor/lib64

2021-11-18 11:06:41  11-18 11:06:41.567 30759 30759 D SoLoader: adding system library source: /system/lib64

2021-11-18 11:06:41  11-18 11:06:41.567 30759 30759 D SoLoader: adding application source: com.facebook.soloader.DirectorySoSource[root = /data/app/com.ejyshop.meshophm-P_MGu-lNcZKGcJ-XA2OTaQ==/lib/arm64 flags = 0]

2021-11-18 11:06:41  11-18 11:06:41.567 30759 30759 D SoLoader: adding backup source from : com.facebook.soloader.ApkSoSource[root = /data/data/com.ejyshop.meshophm/lib-main flags = 1]

2021-11-18 11:06:41  11-18 11:06:41.567 30759 30759 D SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /system/lib64 flags = 2]

2021-11-18 11:06:41  11-18 11:06:41.567 30759 30759 D SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /vendor/lib64 flags = 2]

2021-11-18 11:06:41  11-18 11:06:41.567 30759 30759 D SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /data/app/com.ejyshop.meshophm-P_MGu-lNcZKGcJ-XA2OTaQ==/lib/arm64 flags = 0]

2021-11-18 11:06:41  11-18 11:06:41.567 30759 30759 D SoLoader: Preparing SO source: com.facebook.soloader.ApkSoSource[root = /data/data/com.ejyshop.meshophm/lib-main flags = 1]

2021-11-18 11:06:41  11-18 11:06:41.568 30759 30759 V fb-UnpackingSoSource: locked dso store /data/user/0/com.ejyshop.meshophm/lib-main

2021-11-18 11:06:41  11-18 11:06:41.569 30759 30759 I fb-UnpackingSoSource: dso store is up-to-date: /data/user/0/com.ejyshop.meshophm/lib-main

2021-11-18 11:06:41  11-18 11:06:41.569 30759 30759 V fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.ejyshop.meshophm/lib-main

2021-11-18 11:06:41  11-18 11:06:41.569 30759 30759 D SoLoader: init finish: 4 SO sources prepared

2021-11-18 11:06:41  11-18 11:06:41.569 30759 30759 D SoLoader: init exiting

2021-11-18 11:06:41  11-18 11:06:41.570 30759 30759 I ifaa_fingerprint: [1] IFAAManager reflect success

2021-11-18 11:06:41  11-18 11:06:41.570 30759 30759 I IFAAManagerFactory: IFAAManager getIFAAManager returning v4

2021-11-18 11:06:41  11-18 11:06:41.570 30759 30759 I FaceRecognizeManagerFactory: load actual implementation successfully.

2021-11-18 11:06:41  11-18 11:06:41.570 30759 30759 I FaceRecognizeManagerFactoryImpl: get FaceRecognizeManagerImpl.

2021-11-18 11:06:41  11-18 11:06:41.570 30759 30759 D FaceRecognizeManagerImpl: init the message handler!

2021-11-18 11:06:41  11-18 11:06:41.571 30759 30759 D FaceRecognizeManagerImpl: New FaceRecognize Sdk Instance

2021-11-18 11:06:41  11-18 11:06:41.572 30759 30759 I ifaa_face: [1] SDK_VERSION:29

2021-11-18 11:06:41  11-18 11:06:41.572 30759 30759 D IFAAManagerImpl: getSupportBIOTypes

2021-11-18 11:06:41  11-18 11:06:41.572 30759 30759 D IFAAManagerImpl: getSupportBIOTypes is 1

2021-11-18 11:06:41  11-18 11:06:41.572 30759 30759 D FingerprintManagerEx: getHardwareType mDetailsType:-1

2021-11-18 11:06:41  11-18 11:06:41.572 30759 30759 D FingerprintManagerEx: getHardwareType from Hal: 516

2021-11-18 11:06:41  11-18 11:06:41.572 30759 30759 D FingerprintManagerEx: typeDetails:516

2021-11-18 11:06:41  11-18 11:06:41.572 30759 30759 D FingerprintManagerEx: LOCATION_UNDER_DISPLAY physicalType :2

2021-11-18 11:06:41  11-18 11:06:41.572 30759 30759 D FingerprintManagerEx: LOCATION_UNDER_DISPLAY :2

2021-11-18 11:06:41  11-18 11:06:41.572 30759 30759 D FingerprintManagerEx: type:1

2021-11-18 11:06:41  11-18 11:06:41.572 30759 30759 I IFAAManagerV3Impl: support inner fingerprint

2021-11-18 11:06:41  11-18 11:06:41.572 30759 30759 I IFAAManagerV3Impl: V3 getSupportBIOTypes is 17

2021-11-18 11:06:41  11-18 11:06:41.573 30759 30759 I IFAAManagerV4Impl: faceMode is 6 secureLevel is 0

2021-11-18 11:06:41  11-18 11:06:41.573 30759 30759 I IFAAManagerV4Impl: v4 type 17

2021-11-18 11:06:41  11-18 11:06:41.573 30759 30759 I ifaa_fingerprint: [1] IFAAManager FingerprintAuthenticatorAdapter construct

2021-11-18 11:06:41  11-18 11:06:41.573 30759 30759 I ifaa_fingerprint: [1] IFAAManager reflect success

2021-11-18 11:06:41  11-18 11:06:41.573 30759 30759 I IFAAManagerFactory: IFAAManager getIFAAManager returning v4

2021-11-18 11:06:41  11-18 11:06:41.575 30759 30759 D IFAAManagerImpl: IFAA processCmdV2

2021-11-18 11:06:41  11-18 11:06:41.575 30759 30759 D IFAAManagerImpl: IFAA isOkProcessCmd enter !!!

2021-11-18 11:06:41  11-18 11:06:41.576 30759 30759 D IFAAManagerImpl: IFAA isOkProcessCmd true !!!

2021-11-18 11:06:41  11-18 11:06:41.576 30759 30759 I ConnectRemoteServiceManager_HwIFAAService: Init Remote service start.

2021-11-18 11:06:41  11-18 11:06:41.576 30759 30759 I ConnectRemoteServiceManager_HwIFAAService: Get remote service instance.

2021-11-18 11:06:41  11-18 11:06:41.576 30759 30759 I ConnectRemoteServiceManager_HwIFAAService: Bind remote service start.

2021-11-18 11:06:41  11-18 11:06:41.580 30759 30788 I ConnectRemoteServiceManager_HwIFAAService: Remote service connected.

2021-11-18 11:06:41  11-18 11:06:41.580 30759 30759 I IFAAManagerImpl: getHwIFAAService successfully

2021-11-18 11:06:41  11-18 11:06:41.581 30759 30759 D IFAAManagerImpl: IFAA processCmdV2 enter wait!!!

2021-11-18 11:06:41  11-18 11:06:41.583 30759 30783 D IFAAManagerImpl: IFAA processCmdResult enter notify!!!

2021-11-18 11:06:41  11-18 11:06:41.583 30759 30783 D IFAAManagerImpl: IFAA notifyResult enter !!!

2021-11-18 11:06:41  11-18 11:06:41.583 30759 30759 D IFAAManagerImpl: IFAA processCmdV2 enter waited ok!!!

2021-11-18 11:06:41  11-18 11:06:41.583 30759 30759 D IFAAManagerImpl: IFAA endProcessCmd enter !!!

2021-11-18 11:06:41  11-18 11:06:41.590 30759 30759 I StubController: system app validUid:11437, isFriend:false

2021-11-18 11:06:41  11-18 11:06:41.591 30759 30759 I HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=com.ejyshop.meshophm#11437#0

2021-11-18 11:06:41  11-18 11:06:41.591 30759 30759 I HwApiCacheMangerEx: need clear apicache,because volumes changed,oldCnt=1 newCnt=1

2021-11-18 11:06:41  11-18 11:06:41.592 30759 30759 I HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=com.ejyshop.meshophm#11437#256

2021-11-18 11:06:41  11-18 11:06:41.592 30759 30759 I HwApiCacheMangerEx: need clear apicache,because volumes changed,oldCnt=1 newCnt=1

2021-11-18 11:06:41  11-18 11:06:41.592 30759 30759 I jeese mpid: 30759

2021-11-18 11:06:41  11-18 11:06:41.592 30759 30759 I jeese path: /storage/emulated/0/EJYLog

2021-11-18 11:06:41  11-18 11:06:41.592 30759 30759 I HwTypeface: updateFont: scale=1.0

2021-11-18 11:06:41  11-18 11:06:41.593 30759 30759 D SystemFonts: areFontsVariable: script=Hans

2021-11-18 11:06:41  11-18 11:06:41.593 30759 30759 I ActivityThread: finishPreloaded preloadStatus 0

2021-11-18 11:06:41  11-18 11:06:41.593 30759 30759 I RmeSchedManager: init Rme, version is: v1.0

2021-11-18 11:06:41  11-18 11:06:41.593 30759 30759 I RmeSchedManager: init Rme, version is: v1.0

2021-11-18 11:06:41  11-18 11:06:41.593 30759 30759 I RtgSchedEvent: current pid:30759 AppType:-1

2021-11-18 11:06:41  11-18 11:06:41.594 30759 30791 D HwCustConnectivityManagerImpl: isBlockNetworkRequestByNonAis, INVALID_SUBSCRIPTION_ID

2021-11-18 11:06:41  11-18 11:06:41.596 30759 30759 D OpenGLRenderer: disableOutlineDraw is true

2021-11-18 11:06:41  11-18 11:06:41.600 30759 30802 I OpenGLRenderer: RenderThread: progress name = [com.ejyshop.meshophm], viewCornerType = 0

2021-11-18 11:06:41  11-18 11:06:41.600 30759 30805 I iGraphics: [0020080c] pn: com.ejyshop.meshophm, p: 30759

2021-11-18 11:06:41  11-18 11:06:41.600 30759 30805 I iGraphics: [0030080c] no spt app: com.ejyshop.meshophm

2021-11-18 11:06:41  11-18 11:06:41.604 30759 30759 V ActivityThread: callActivityOnCreate

2021-11-18 11:06:41  11-18 11:06:41.625 30759 30759 I DecorView[]: pkgName:com.ejyshop.meshophm old windowMode:0 new windoMode:1, isFixedSize:false

2021-11-18 11:06:41  11-18 11:06:41.630 30759 30759 D MouseWheelSynthesizer: mMoveStepInDp: 64, mMoveStepInPixel: 192, mUpTimeDelayed: 100

2021-11-18 11:06:41  11-18 11:06:41.631 30759 30759 D ViewRootImpl: ViewRootImpl mIsInProductivePCDisplay: false

2021-11-18 11:06:41  11-18 11:06:41.631 30759 30759 I HwPartPowerOfficeFactory: add HwPartPowerOfficeFactoryImpl to memory.

2021-11-18 11:06:41  11-18 11:06:41.634 30759 30759 I DecorView[]: pkgName:com.ejyshop.meshophm old windowMode:1 new windoMode:1, isFixedSize:false

2021-11-18 11:06:41  11-18 11:06:41.637 30759 30759 D InputEventReceiver: dispatchInputInterval 1000000

2021-11-18 11:06:41  11-18 11:06:41.638 30759 30759 I xjjjj ReactNative: mainact oncreate

2021-11-18 11:06:41  11-18 11:06:41.642 30759 30759 I xjjjj ReactNative: mainApplication getPackages

2021-11-18 11:06:41  11-18 11:06:41.644 30759 30759 D SoLoader: init exiting

2021-11-18 11:06:41  11-18 11:06:41.644 30759 30759 D SoLoader: About to load: libjscexecutor.so

2021-11-18 11:06:41  11-18 11:06:41.644 30759 30759 D SoLoader: libjscexecutor.so not found on /data/data/com.ejyshop.meshophm/lib-main

2021-11-18 11:06:41  11-18 11:06:41.644 30759 30759 D SoLoader: libjscexecutor.so found on /data/app/com.ejyshop.meshophm-P_MGu-lNcZKGcJ-XA2OTaQ==/lib/arm64

2021-11-18 11:06:41  11-18 11:06:41.644 30759 30759 D SoLoader: Not resolving dependencies for libjscexecutor.so

2021-11-18 11:06:41  11-18 11:06:41.660 30759 30759 D JavaScriptCore.Version: 245459.0.0

2021-11-18 11:06:41  11-18 11:06:41.661 30759 30759 D SoLoader: Loaded: libjscexecutor.so

2021-11-18 11:06:41  11-18 11:06:41.661 30759 30759 D SoLoader: init exiting

2021-11-18 11:06:41  11-18 11:06:41.667 30759 30759 D NetworkSecurityConfig: No Network Security Config specified, using platform default

2021-11-18 11:06:41  11-18 11:06:41.672 30759 30759 D SensorManager: 0x748a630e80 addFd fd=103

2021-11-18 11:06:41  11-18 11:06:41.679 30759 30759 W Lifecycle--->(MainApplication.java:223): com.ejyshop.meshop.MainActivity was Created activity==null   false     activity.isFinishing()  false    activity.isDestroyed()  false

2021-11-18 11:06:41  11-18 11:06:41.682 30759 30759 I DecorView[]: pkgName:com.ejyshop.meshophm old windowMode:0 new windoMode:1, isFixedSize:false

2021-11-18 11:06:41  11-18 11:06:41.682 30759 30759 I RmeSchedManager: init Rme, version is: v1.0

2021-11-18 11:06:41  11-18 11:06:41.682 30759 30759 I RtgSchedEvent: current pid:30759 AppType:-1

2021-11-18 11:06:41  11-18 11:06:41.685 30759 30759 I xjjjj ReactNative: mainact oncreate after super

2021-11-18 11:06:41  11-18 11:06:41.686 30759 30759 D ActivityThread: add activity client record, r= ActivityRecord{95567fa token=android.os.BinderProxy[@9ad4de1](/user/9ad4de1) {com.ejyshop.meshophm/com.ejyshop.meshop.MainActivity}} token= android.os.BinderProxy[@9ad4de1](/user/9ad4de1)

2021-11-18 11:06:41  11-18 11:06:41.687 30759 30759 W Lifecycle--->(MainApplication.java:230): com.ejyshop.meshop.MainActivity was Started activity==null   false     activity.isFinishing()   false   activity.isDestroyed()  false

2021-11-18 11:06:41  11-18 11:06:41.689 30759 30759 W Lifecycle--->(MainApplication.java:239): com.ejyshop.meshop.MainActivity was oResumed activity==null   falseactivity.isFinishing()   falseactivity.isDestroyed() false

2021-11-18 11:06:41  11-18 11:06:41.690 30759 30759 I xjjjj ReactNative: mainact onResume

2021-11-18 11:06:41  11-18 11:06:41.690 30759 30759 D MainActivity--->(MainActivity.java:82): onResume

2021-11-18 11:06:41  11-18 11:06:41.690 30759 30759 I HwPartMagicWindowFactory: add android.common.HwPartMagicWindowFactoryImpl to memory.

2021-11-18 11:06:41  11-18 11:06:41.690 30759 30759 D MouseWheelSynthesizer: mMoveStepInDp: 64, mMoveStepInPixel: 192, mUpTimeDelayed: 100

2021-11-18 11:06:41  11-18 11:06:41.691 30759 30759 D ViewRootImpl: ViewRootImpl mIsInProductivePCDisplay: false

2021-11-18 11:06:41  11-18 11:06:41.694 30759 30759 D InputEventReceiver: dispatchInputInterval 1000000

2021-11-18 11:06:41  11-18 11:06:41.699 30759 30826 D HiTouch_PressGestureDetector: onAttached, package=com.ejyshop.meshophm, windowType=2, mIsHiTouchRestricted=false

2021-11-18 11:06:41  11-18 11:06:41.704 30759 30802 I         : [CAF] out_sc_config: sc_enable=1, max_size=3670016 

2021-11-18 11:06:41  11-18 11:06:41.704 30759 30802 I         : [CAF] sc_policy[0] = 0x0

2021-11-18 11:06:41  11-18 11:06:41.704 30759 30802 I         : [CAF] sc_policy[1] = 0x0

2021-11-18 11:06:41  11-18 11:06:41.704 30759 30802 I         : [CAF] sc_policy[2] = 0x0

2021-11-18 11:06:41  11-18 11:06:41.704 30759 30802 I         : [CAF] sc_policy[3] = 0x0

2021-11-18 11:06:41  11-18 11:06:41.712 30759 30802 I         : package[com.ejyshop.meshophm] pid[30759] game[0]

2021-11-18 11:06:41  11-18 11:06:41.717 30759 30802 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000

2021-11-18 11:06:41  11-18 11:06:41.722 30759 30802 W Gralloc3: mapper 3.x is not supported

2021-11-18 11:06:41  11-18 11:06:41.735 30759 30759 I xjjjj ReactNative: mainact onAttachedToWindow

2021-11-18 11:06:41  11-18 11:06:41.735 30759 30759 W unknown:ReactNative: Packager connection already open, nooping.

2021-11-18 11:06:41  11-18 11:06:41.735 30759 30759 W unknown:ReactNative: Packager connection already open, nooping.

2021-11-18 11:06:41  11-18 11:06:41.736 30759 30855 D HiTouch_PressGestureDetector: onAttached, package=com.ejyshop.meshophm, windowType=1, mIsHiTouchRestricted=false

2021-11-18 11:06:41  11-18 11:06:41.741 30759 30802 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000

2021-11-18 11:06:41  11-18 11:06:41.755 30759 30759 W Lifecycle--->(MainApplication.java:246): com.ejyshop.meshop.MainActivity was Pauseed activity==null   falseactivity.isFinishing()   falseactivity.isDestroyed()  false

2021-11-18 11:06:41  11-18 11:06:41.757 30759 30759 I xjjjj ReactNative: mainact onPause

2021-11-18 11:06:41  11-18 11:06:41.757 30759 30759 D MainActivity--->(MainActivity.java:92): onPause

2021-11-18 11:06:41  11-18 11:06:41.772 30759 30802 D OpenGLRenderer: disableOutlineDraw is true

2021-11-18 11:06:41  11-18 11:06:41.772 30759 30759 W InputMethodManager: startInputReason = 1

2021-11-18 11:06:41  11-18 11:06:41.772 30759 30759 W HwRemoteInputMethodManager: isCasting false because IHwDistributedWindowManager is invalid.

2021-11-18 11:06:41  11-18 11:06:41.773 30759 30802 D OpenGLRenderer: disableOutlineDraw is true

2021-11-18 11:06:41  11-18 11:06:41.865 30759 30759 D RtgSchedIpcFile: setCommandByIoctl failed ret:-1, cmdid:22, errno:103

2021-11-18 11:06:41  11-18 11:06:41.865 30759 30759 D ActivityThread: Won't deliver top position change in state=4

2021-11-18 11:06:41  11-18 11:06:41.865 30759 30759 D RtgSchedIpcFile: setCommandByIoctl failed ret:-1, cmdid:23, errno:103

2021-11-18 11:06:41  11-18 11:06:41.867 30759 30759 D RtgSchedIpcFile: setCommandByIoctl failed ret:-1, cmdid:22, errno:103

2021-11-18 11:06:41  11-18 11:06:41.868 30759 30759 W Lifecycle--->(MainApplication.java:239): com.ejyshop.meshop.MainActivity was oResumed activity==null   falseactivity.isFinishing()   falseactivity.isDestroyed() false

2021-11-18 11:06:41  11-18 11:06:41.869 30759 30759 D SensorManager: 0x748a630e80 addFd fd=123

2021-11-18 11:06:41  11-18 11:06:41.871 30759 30759 I xjjjj ReactNative: mainact onResume

2021-11-18 11:06:41  11-18 11:06:41.871 30759 30759 D MainActivity--->(MainActivity.java:82): onResume

2021-11-18 11:06:41  11-18 11:06:41.878 30759 30759 D RtgSchedIpcFile: setCommandByIoctl failed ret:-1, cmdid:23, errno:103

2021-11-18 11:06:41  11-18 11:06:41.889 30759 30759 W InputMethodManager: startInputReason = 1

2021-11-18 11:06:41  11-18 11:06:41.889 30759 30759 W HwRemoteInputMethodManager: isCasting false because IHwDistributedWindowManager is invalid.

2021-11-18 11:06:41  11-18 11:06:41.896 30759 30759 W InputMethodManager: startInputReason = 5

2021-11-18 11:06:41  11-18 11:06:41.923 30759 30759 I RmeSchedManager: init Rme, version is: v1.0

2021-11-18 11:06:41  11-18 11:06:41.923 30759 30759 I RtgSchedEvent: current pid:30759 AppType:-1

2021-11-18 11:06:44  11-18 11:06:44.502 30759 30759 W DisplayEventDispatcher: dispatcher 0x749ba25d60 ~ ignoring unknown event type 0x736f6674

2021-11-18 11:06:46  11-18 11:06:46.562 30759 30759 I AwareBitmapCacher: init lrucache size: 2097152 pid=30759

2021-11-18 11:09:08  11-18 11:09:08.238 30759 30759 W DisplayEventDispatcher: dispatcher 0x749ba25d60 ~ ignoring unknown event type 0x736f6674

2021-11-18 11:09:09  11-18 11:09:09.006 30759 30759 E RtgSchedManager: endActivityTransaction: margin state not match

2021-11-18 11:09:09  11-18 11:09:09.007 30759 30759 W Lifecycle--->(MainApplication.java:246): com.ejyshop.meshop.MainActivity was Pauseed activity==null   falseactivity.isFinishing()   falseactivity.isDestroyed()  false

2021-11-18 11:09:09  11-18 11:09:09.008 30759 30759 I xjjjj ReactNative: mainact onPause

2021-11-18 11:09:09  11-18 11:09:09.008 30759 30759 D MainActivity--->(MainActivity.java:92): onPause

2021-11-18 11:09:09  11-18 11:09:09.012 30759 30759 E RtgSchedManager: endActivityTransaction: margin state not match

2021-11-18 11:09:09  11-18 11:09:09.014 30759 30802 W libEGL  : EGLNativeWindowType 0x748433e590 disconnect failed

2021-11-18 11:09:09  11-18 11:09:09.019 30759 30802 W libEGL  : EGLNativeWindowType 0x741e3bb7d0 disconnect failed

2021-11-18 11:09:09  11-18 11:09:09.024 30759 30759 W Lifecycle--->(MainApplication.java:253): com.ejyshop.meshop.MainActivity was Stoped activity==null    falseactivity.isFinishing()   falseactivity.isDestroyed() false

2021-11-18 11:09:09  11-18 11:09:09.024 30759 30759 I xjjjj ReactNative: mainact onRestart

2021-11-18 11:09:09  11-18 11:09:09.025 30759 30759 W Lifecycle--->(MainApplication.java:263): com.ejyshop.meshop.MainActivity was SaveInstanceState activity==null falseactivity.isFinishing()   falseactivity.isDestroyed()  false

2021-11-18 11:09:09  11-18 11:09:09.025 30759 30759 I xjjjj ReactNative: mainact onSaveInstanceState

2021-11-18 11:09:09  11-18 11:09:09.025 30759 30759 E RtgSchedManager: endActivityTransaction: margin state not match

2021-11-18 11:09:09  11-18 11:09:09.184 30759 30759 I RmeSchedManager: init Rme, version is: v1.0

2021-11-18 11:09:09  11-18 11:09:09.748 30759 30779 D ZrHung.AppEyeUiProbe: not watching, wait.

2021-11-18 11:09:11  11-18 11:09:11.242 30759 30759 W DisplayEventDispatcher: dispatcher 0x749ba25d60 ~ ignoring unknown event type 0x736f6674

2021-11-18 11:09:14  11-18 11:09:14.011 30759 30759 I AwareBitmapCacher: handleReleaseCache: pid=30759

2021-11-18 11:09:14  11-18 11:09:14.011 30759 30759 I AwareBitmapCacher: init lrucache size: 2097152 pid=30759

请问,后面有解决吗 ?   在华为手机中,我们的App的RN页面存在小概率的白屏,无法打开现象, 只有卸载重新安装App,才能恢复 

2024-08-12 10:36:15.474 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:render_frame_host_manager.cc(1163)] HWBFCACHE: GetSiteInstanceForNavigationRequest reason=DetermineSiteInstanceForURL => parent-instance (no-strict-site-instances)

2024-08-12 10:36:15.520 27264-27419 hwschromium-11263       com.pkb.rn                           I  [INFO:network_service_network_delegate.cc(164)] INFO: resource : https//*** error code: 404

2024-08-12 10:36:15.549 27264-27401 hwschromium-11263       com.pkb.rn                           I  [INFO:aw_proxying_url_loader_factory.cc(1285)] InterceptedRequest::FollowRedirect

2024-08-12 10:36:15.665 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:render_frame_host_manager.cc(1163)] HWBFCACHE: GetSiteInstanceForNavigationRequest reason=DetermineSiteInstanceForURL / same-site-navigation

2024-08-12 10:36:15.692 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:adaptive_relayout_impl.cc(27)] enter ShouldDoAdaptiveRelayout

2024-08-12 10:36:15.692 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:adaptive_relayout_impl.cc(37)] exit ShouldDoAdaptiveRelayout, should[0]

2024-08-12 10:36:15.700 27264-27264 hwschromium-11263       com.pkb.rn                           W  [WARNING:browser_context.cc(598)] CloudControl BrowserContext::GetControlConfigByUrl cloud control config is empty or not enabled

2024-08-12 10:36:15.877 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:CONSOLE(1)] "【GalleryOss】 configure: [object Object]", source: https://ipc-app.pikebao.com/_next/static/chunks/7550-542216dfd83e8eef.js (1)

2024-08-12 10:36:15.878 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:CONSOLE(1)] "【CameraPreviewOss】 configure: [object Object]", source: https://ipc-app.pikebao.com/_next/static/chunks/7550-542216dfd83e8eef.js (1)

2024-08-12 10:36:15.915 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:CONSOLE(1)] "【GalleryOss】 configure: [object Object]", source: https://ipc-app.pikebao.com/_next/static/chunks/7550-542216dfd83e8eef.js (1)

2024-08-12 10:36:15.915 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:CONSOLE(1)] "【CameraPreviewOss】 configure: [object Object]", source: https://ipc-app.pikebao.com/_next/static/chunks/7550-542216dfd83e8eef.js (1)

2024-08-12 10:36:15.956 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:CONSOLE(1)] "【JuJiuMqttConfigSingleton】 setConfig: [object Object]", source: https://ipc-app.pikebao.com/_next/static/chunks/7550-542216dfd83e8eef.js (1)

2024-08-12 10:36:15.966 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:fraud_web_reporter.cc(110)] fraud_web_report disabled.

2024-08-12 10:36:15.966 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:aw_content_browser_client.cc(2146)] fraud_web_report should skip compute digest:1

2024-08-12 10:36:15.966 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:navigation_request.cc(1530)] fraud_web_report will skip compute digest for resoruces.

2024-08-12 10:36:15.972 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:fraud_web_reporter.cc(110)] fraud_web_report disabled.

2024-08-12 10:36:15.972 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:aw_content_browser_client.cc(2146)] fraud_web_report should skip compute digest:1

2024-08-12 10:36:15.972 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:navigation_request.cc(1530)] fraud_web_report will skip compute digest for resoruces.

2024-08-12 10:36:15.972 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:render_frame_host_manager.cc(1163)] HWBFCACHE: GetSiteInstanceForNavigationRequest reason=DetermineSiteInstanceForURL => source_instance

2024-08-12 10:36:15.973 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:render_frame_host_manager.cc(1163)] HWBFCACHE: GetSiteInstanceForNavigationRequest reason=DetermineSiteInstanceForURL => source_instance

2024-08-12 10:36:15.982 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:adaptive_relayout_impl.cc(27)] enter ShouldDoAdaptiveRelayout

2024-08-12 10:36:15.982 27264-27264 hwschromium-11263       com.pkb.rn                           I  [INFO:adaptive_relayout_impl.cc(37)] exit ShouldDoAdaptiveRelayout, should[0]

---------------------------- PROCESS STARTED (27470) for package com.pkb.rn ----------------------------

2024-08-12 10:36:15.987 27264-27264 hwschromium-11263       com.pkb.rn                           W  [WARNING:browser_context.cc(598)] CloudControl BrowserContext::GetControlConfigByUrl cloud control config is empty or not enabled

---------------------------- PROCESS ENDED (27470) for package com.pkb.rn ----------------------------

2024-08-12 10:36:18.216 27264-27264 AwareBitmapCacher       com.pkb.rn                           I  init lrucache size: 4194304 pid=27264

2024-08-12 10:36:18.365 27264-27396 hwbr_engin...rocessConn com.pkb.rn                           W  onServiceDisconnected (crash or killed by oom): pid=27397 bindings:W  S

2024-08-12 10:36:18.372 27264-27264 hwschromium-11263       com.pkb.rn                           E  [ERROR:aw_contents.cc(2335)] HWBFCACHE: RenderFrameDeleted had cached this RFH 0

2024-08-12 10:36:18.375 27264-27264 hwschromium-11263       com.pkb.rn                           E  [ERROR:aw_browser_terminator.cc(156)] Renderer process (27397) crash detected (code 11).

2024-08-12 10:36:18.376 27264-27264 RNCWebViewManager       com.pkb.rn                           E  The WebView rendering process crashed.

2024-08-12 10:36:18.380 27264-27411 hwschromium-11263       com.pkb.rn                           E  [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.pkb.rn/cache/WebView/Crashpad/attachments/90dd85e5-62c4-460e-9ddb-77f30e14470a: No such file or directory (2)

2024-08-12 10:36:18.382 27264-27264 WindowManager           com.pkb.rn                           I  trimMemory level: 5

2024-08-12 10:36:18.382 27264-27378 ReactNativeJNI          com.pkb.rn                           I  Memory warning (pressure level: TRIM_MEMORY_RUNNING_MODERATE) received by JS VM, ignoring because it's non-severe

2024-08-12 10:36:18.398 27264-27411 hwbr_engin...serProcess com.pkb.rn                           I  Clean out non fresh minidump files.   切换App到后台,再次打开就白屏了,只能卸载App才可以,有遇到这种bug的吗?鸿蒙系统下出现的

针对HarmonyOS鸿蒙Next上React Native开发的app打开白屏问题,可能由多种原因引起。建议首先检查系统及应用是否已更新到最新版本,清理应用缓存和数据,并尝试重启设备。若问题依旧,可查看应用日志以获取具体错误信息。此外,React Native与鸿蒙系统的兼容性也可能是问题所在,开发者需确保应用已做好鸿蒙系统的适配工作。如操作过程中遇到任何困难或问题依旧无法解决,可联系官网客服,以获取更专业的帮助,官网地址是:https://www.itying.com/category-93-b0.html

回到顶部