簡體   English   中英

Android Google Play致命異常:發布時帶有React-Native應用的mqt_native_modules

[英]Android Google Play FATAL EXCEPTION: mqt_native_modules with React-Native app on Release APK

我和我的努力React Native應用......它曾經被沒有任何錯誤正確部署我更新了許多的前librairies我以前在反應本地的,但現在我有錯誤Android & iOS

它可以與react-native run-android或Android Studio ,但我的發行版APK無法通過Google Play測試。

這是部分錯誤的Google Play日志:

12-12 01:26:15.554:E / ReactNativeJS(13327):未定義不是對象(評估'e.length')12-12 01:26:15.556:I / Dpps(892):int DppsFeatureAd3 :: AdCalcCalibParams (struct DppsAdCfgParam&)():445 calib_a 14,calib_c 0,calib_d 0 12-12 01:26:15.558:E / ReactNativeJS(13327):Module AppRegistry不是注冊的可調用模塊(調用runApplication)12-12 01: 26:15.563:E / NetworkScheduler(11214):忽略過時的隊列檢查消息12-12 01:26:15.563:E / NetworkScheduler(11214):---------崩潰開始12-12 01:26 :15.564:E / AndroidRuntime(13327):致命異常:mqt_native_modules 12-12 01:26:15.564:E / AndroidRuntime(13327):進程:com.mdef.mymatchup,PID:13327

這是我的package.json:

{
  "name": "my-app",
  "version": "1.1.0",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "release": "cd android && ./gradlew assembleRelease",
    "installRelease": "cd android && ./gradlew installRelease",
    "test": "jest"
  },
  "dependencies": {
    "babel-plugin-module-resolver": "3.0.0",
    "babel-plugin-transform-remove-console": "6.8.5",
    "d3-interpolate": "1.1.5",
    "es6-symbol": "3.1.1",
    "lodash": "~4.11.2",
    "lodash.range": "3.2.0",
    "module-resolver": "1.0.0",
    "native-base": "2.3.5",
    "native-base-shoutem-theme": "0.1.0",
    "prop-types": "15.5.10",
    "react": "16.0.0",
    "react-native": "0.51.0",
    "react-native-communications": "2.2.1",
    "react-native-datepicker": "1.6.0",
    "react-native-fetch-blob": "0.10.8",
    "react-native-firebase-analytics": "4.0.1",
    "react-native-image-crop-picker": "0.18.1",
    "react-native-sentry": "0.30.2",
    "react-native-splash-screen": "3.0.6",
    "react-native-svg": "6.0.0",
    "react-native-vector-icons": "4.4.2",
    "react-navigation": "1.0.0-beta.10",
    "react-redux": "5.0.5",
    "redux": "3.7.2",
    "redux-persist": "5.2.2",
    "redux-thunk": " 2.2.0",
    "striptags": "file:patch/striptags",
    "react-native-fcm-opsone": "file:patch/react-native-fcm"
  },
  "devDependencies": {
    "babel-jest": "19.0.0",
    "babel-preset-react-native": "1.9.1",
    "jest": "19.0.2",
    "react-test-renderer": "~15.4.2"
  },
  "jest": {
    "preset": "react-native"
  },
  "resolutions": {
    "metro-bundler": "0.20.2",
    "color-convert": "1.9.1",
    "uglify-js": "github:alexlamsl/UglifyJS2#issue-2449"
  }
}

我嘗試了此問題的答案,但沒有執行任何操作。 React-Native:模塊AppRegistry不是注冊的可調用模塊

有人已經遇到了同樣的問題嗎? 到現在已經三天了,我不知道該怎么辦了……我需要幫助!

問題解決了! 我已經通過將React-Native從0.51.0降級到0.49.5來解決了我的問題,並且沒有更多崩潰了。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM