React Native Android本地发行版/调试正常,播放商店版本崩溃

时间:2019-09-30 19:45:08

标签: android reactjs react-native io google-play

我已经开发了一个本机应用程序,并将其发布到Play商店。将React Native升级到v0.60.5并添加了一些功能之后,更新的版本1.1.0停止工作。

虽然android studio中内置的本地版本(调试/发行版)正常工作,但Play商店中可用的已上传应用捆绑包无效。

在Play商店中下载的版本卡在斜线屏幕中,并且不会返回任何反馈。

adb logcat *:E抛出以下几行:

09-30 17:40:33.025  1194  1253 E PackageManager: failed to find package com.brive_app
09-30 17:40:33.025  1194  1253 E OverlayManager: Failed to change enabled overlays for com.brive_app user 0

09-30 17:40:50.114 30740 30740 E com.brive_app: Not starting debugger since process cannot load the jdwp agent.

09-30 17:41:56.791 25572 25600 E s.nexuslaunche: Failed to open APK '/data/app/com.brive_app-6ENCGUCstJdR8hpsQylxaw==/base.apk' I/O error
09-30 17:41:56.791 25572 25600 E ResourcesManager: failed to add asset path /data/app/com.brive_app-6ENCGUCstJdR8hpsQylxaw==/base.apk
09-30 21:43:31.034  1194  1244 E ActivityManager: ANR in com.brive_app (com.brive_app/.MainActivity)
09-30 21:43:31.034  1194  1244 E ActivityManager: PID: 12998
09-30 21:43:31.034  1194  1244 E ActivityManager: Reason: Input dispatching timed out (Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.)

我已经做了

  • 清理整个项目
  • 重新启动一切

使用过的包裹

   "@react-native-community/async-storage": "^1.6.1",
    "@react-native-community/netinfo": "^4.2.2",
    "@types/react-native-svg-charts": "^5.0.2",
    "@types/react-redux": "^7.1.2",
    "@types/redux-api-middleware": "^3.0.1",
    "interpolate-range": "^2.1.0",
    "moment": "^2.24.0",
    "react": "16.8.6",
    "react-native": "0.60.5",
    "react-native-background-fetch": "^2.7.0",
    "react-native-device-info": "^2.3.2",
    "react-native-iphone-x-helper": "^1.2.1",
    "react-native-keychain": "^3.1.3",
    "react-native-maps": "0.25.0",
    "react-native-modal": "^11.3.1",
    "react-native-navigation": "3.0.0-alpha.11",
    "react-native-svg": "^9.6.4",
    "react-native-svg-charts": "^5.3.0",
    "react-native-webview": "^6.9.0",
    "react-native-zendrive": "^1.0.2",
    "react-redux": "^7.1.0",
    "redux": "^4.0.4",
    "redux-api-middleware": "^3.0.1",
    "redux-persist": "^5.10.0",
    "redux-thunk": "^2.3.0",
    "string-format": "^2.0.0"

0 个答案:

没有答案