React native Android:应用程序在简历上停留在splashscreen上

React native Android:应用程序在简历上停留在splashscreen上,android,react-native,react-navigation,Android,React Native,React Navigation,恢复后,我的应用程序卡在splashscreen上: 发布应用程序 按back(返回Android仪表板) 点击应用程序图标 应用程序卡在SplasScreen上 以下是我的依赖项: "react-native": "^0.57.4", "react-native-code-push": "^5.4.2", "react-native-collapsible": "^1.1.0", "react-native-datepicker": "^1.7.2", "react-native-fa

恢复后,我的应用程序卡在splashscreen上:

  • 发布应用程序
  • 按back(返回Android仪表板)
  • 点击应用程序图标
  • 应用程序卡在SplasScreen上

以下是我的依赖项:

"react-native": "^0.57.4",
"react-native-code-push": "^5.4.2",
"react-native-collapsible": "^1.1.0",
"react-native-datepicker": "^1.7.2",
"react-native-fast-image": "^5.1.0",
"react-native-geocoder": "git://github.com/pizzahutuk/react-native-geocoder",
"react-native-google-analytics-bridge": "^6.1.2",
"react-native-google-autocomplete": "^0.1.5",
"react-native-image-picker": "^0.27.1",
"react-native-iphone-x-helper": "^1.2.0",
"react-native-linear-gradient": "^2.4.2",
"react-native-maps": "git://github.com/react-community/react-native-maps.git#1844d46902629e2caa55527d5bff48a550d92525",
"react-native-picker-select": "^4.4.0",
"react-native-sensors": "^4.0.0",
"react-native-splash-screen": "^3.1.1",
"react-native-svg": "^8.0.8",
"react-native-video": "^3.2.1",
"react-navigation": "^2.16.0",
"react-navigation-redux-helpers": "^2.0.6",
"react-redux": "^5.0.7",
"react-router": "^4.3.1",
"redux": "^4.0.0"
以下是发布期间adb logcat的日志:

11-13 15:45:30.710 2290 2290 W ResourceType:获取资源号0x9c020204的名称时,没有已知的包 11-13 15:45:30.710 2290 2290 I HwLauncher:Launcher onclick begin com.huawei.android.Launcher.BubbleTextView{d7d30af VFED..CL..P..ID 5281280-7921570 35; 9c020204} 11-13 15:45:30.710 2290 2290 I HwLauncher:Launcher.Utilities StartActivity安全使用LaunchAnimation=true 11-13 15:45:30.710 2290 2290 I HwLauncher:Launcher.Utilities startActivity安全开始当前用户的startActivity() 11-13 15:45:30.714 2239 2239 I K3V3CPU政府政策:设置场景Hmp政策:300150 11-13 15:45:30.717 2290 2290 I HwLauncher:Launcher.Utilities startActivity安全结束当前用户的startActivity() 11-13 15:45:30.717 2290 2290 I HwLauncher:Launcher此视图的父视图不是SearchGridView,因此无需报告RecentApp。 11-13 15:45:30.717 2290 2290 I HW发射器:发射器点击结束 11-13 15:45:30.719 2290 2290 I HwLauncher:Launcher onPause() 11-13 15:45:30.720 2290 12810 I HW启动器:启动器。运动管理器停止运动应用程序重新开始,flg=403 11-13 15:45:30.720 2290 12810 W HwLauncher:Launcher.MotionManager stopMotionAppsReco服务flg 403不可用 11-13 15:45:30.725 2239 3057 W PGApi_客户端:recv actionId=10000,action=com.huawei.pgmng。PGAction@3b9ef2factionId=10000 pkg=air.com.unit9.frapp extend1=1390 extend2=flag=3 type=1 11-13 15:45:30.726 2290 12809 I HwLauncher:Launcher.MotionManager停止运动AppsReco开始,flg=402 11-13 15:45:30.726 2290 12809 W HwLauncher:Launcher.MotionManager stopMotionAppsReco服务flg 402不可用 11-13 15:45:30.729 1893 2018 I HWI系统经理:通知指南服务:处理消息\u ACTIVIY\u前台,uid:10185 11-13 15:45:30.729 10855 10985 I HwSystemManager:NotificationGuideService:handle MSG_ACTIVIY_前台,uid:10185 11-13 15:45:30.730 2290 2290 I发送广播权限:action:com.huawei.android.action.WIDGET\u FOCUS\u更改,mPermissionType:0 11-13 15:45:30.732 10855 11018 W System.err:android.content.pm.PackageManager$NameNotFoundException:air.com.unit9.frapp 11-13 15:45:30.732 10855 11018 W System.err:at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:321) 11-13 15:45:30.732 10855 11018 W System.err:com.huawei.systemmanager.netassistant.netapp.service.NetControllService.checkshownnetworktoast(NetControllService.java:170) 11-13 15:45:30.732 10855 11018 W System.err:在com.huawei.systemmanager.netassistant.netapp.service.NetControllService.access$100(NetControllService.java:56) 11-13 15:45:30.732 10855 11018 W System.err:com.huawei.systemmanager.netassistant.netapp.service.NetControllService$1.handleMessage(NetControllService.java:114) 11-13 15:45:30.732 10855 11018 W System.err:at android.os.Handler.dispatchMessage(Handler.java:102) 11-13 15:45:30.732 10855 11018 W System.err:at android.os.Looper.loop(Looper.java:150) 11-13 15:45:30.733 10855 11018 W System.err:at android.os.HandlerThread.run(HandlerThread.java:61) 11-13 15:45:30.737 1893 2093 I硬件资源:加载图标id:7f0a0000,pkgName:air.com.unit9.frapp 11-13 15:45:30.744 388 1107 I gralloc:Alloc请求:dev=0x7f83e42540,w=1080,h=1920,格式=0x1,用法=0x933 11-13 15:45:30.744 388 1107 I gralloc:Alloc手柄(0x7f68a58400):interfmt=0x1,步幅=1088,尺寸=8486912 11-13 15:45:30.745 1893 2093 I HwResources:icon:air.com.unit9.frapp在应用程序中找到 11-13 15:45:30.745 12692 12738 I ReactNativeJS:正在运行应用程序“App”,appParams:{“rootTag”:11}DEV==false,关闭开发级别警告,启用性能优化 11-13 15:45:30.770 388 12146 I gralloc:自由手柄(0x7f68a42b00) 11-13 15:45:30.770 388 12146 I gralloc:自由手柄(0x7f68a58300) 11-13 15:45:30.771 388 419 I gralloc:Alloc req:dev=0x7f83e42540,w=1080,h=1920,格式=0x1,用法=0xb00 11-13 15:45:30.772 388 419 I gralloc:Alloc手柄(0x7f68a58600):interfmt=0x20000001,步幅=1088,尺寸=8486912 11-13 15:45:30.772 388 419 I gralloc:Alloc请求:dev=0x7f83e42540,w=1080,h=1920,格式=0x1,用法=0xb00 11-13 15:45:30.781 388 419 I gralloc:Alloc手柄(0x7f83e88b00):interfmt=0x20000001,步幅=1088,尺寸=8486912 11-13 15:45:30.781 388 419 I gralloc:Alloc请求:dev=0x7f83e42540,w=1080,h=1920,格式=0x1,用法=0xb00 11-13 15:45:30.782 388 419 I gralloc:Alloc手柄(0x7f68a58700):干涉=0x20000001,跨距=1088,尺寸=8486912 11-13 15:45:30.788 388 419 I gralloc:Alloc请求:dev=0x7f83e42540,w=1080,h=1920,格式=0x1,用法=0xb00 11-13 15:45:30.793 388 419 I gralloc:Alloc手柄(0x7f68a58800):干涉=0x20000001,跨距=1088,尺寸=8486912 11-13 15:45:30.793 388 419 I gralloc:Alloc请求:dev=0x7f83e42540,w=1080,h=1920,格式=0x1,用法=0xb00 11-13 15:45:30.798 388 419 I gralloc:Alloc手柄(0x7f68a58900):interfmt=0x20000001,步幅=1088,尺寸=8486912 11-13 15:45:30.798 388 419 I gralloc:Alloc请求:dev=0x7f83e42540,w=1080,h=1920,格式=0x1,用法=0xb00 11-13 15:45:30.798 388 419 I gralloc:Alloc手柄(0x7f68a42200):interfmt=0x20000001,步幅=1088,尺寸=8486912 11-13 15:45:30.819 961 1609 E HwCHRWebMonitor:正在运行processNameair.com.unit9.frapp 11-13 15:45:30.819 961 1609 E HwCHRWebMonitor:HwCHRWifiUIDWebSpeed[appName=com.mobilesrepublic.appy UID=10104 WEBSENDSEGS=9 WEBRESENDSEGS=0 WEBRECVSEGS=12 WEBERRSEGS=0 WEBOUTRSTS=0 webestablisst=0 WEBRTTDURATION=12 WEBRTTSEGS=2 webnddupacks=0吸吮次数=0记录次数=0] 11-13 15:45:30.820 961 1609 E HwCHRWebMonitor:HwCHRWifiUIDWebSpee
import { InteractionManager } from 'react-native';

...

componentDidMount() {

  // Some code here if needed.

  InteractionManager.runAfterInteractions(() => {
    setTimeout(() => {
      SplashScreen.hide();
    }, 750);
  });
}