【发布时间】:2018-10-08 10:02:19
【问题描述】:
下面是我的包裹。
{
"name": "wallpaper_rn",
"version": "0.1.0",
"private": true,
"devDependencies": {
"babel-preset-react-native-stage-0": "^1.0.1",
"jest": "^23.6.0",
"jest-react-native": "^18.0.0",
"react-test-renderer": "16.3.1"
},
"scripts": {
"start": "react-native start",
"android": "react-native run-android",
"ios": "react-native run-ios",
"test": "jest"
},
"jest": {
"preset": "react-native"
},
"dependencies": {
"prop-types": "^15.6.2",
"react": "16.4.1",
"react-native": "~0.55.2",
"react-native-admob": "^2.0.0-beta.5",
"react-native-elements": "^0.19.1",
"react-native-fetch-blob": "^0.10.8",
"react-native-fs": "^2.11.17",
"react-native-share": "^1.1.2",
"react-native-splash-screen": "^3.1.1",
"react-native-swiper": "^1.5.13",
"react-native-vector-icons": "^5.0.0",
"react-navigation": "^2.14.1",
"react-redux": "^5.0.7",
"recyclerlistview": "^1.3.4",
"redux": "^4.0.0",
"redux-thunk": "^2.3.0"
}
}
我也试过 react-native-admob (1.3.2) 版本。
我刚刚安装了 admob 模块并链接了它。之后,即使在调试模式下,该应用程序也会在启动时突然崩溃。
【问题讨论】:
-
请阅读Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers? - 总结是这不是解决志愿者的理想方式,并且可能会适得其反。请不要将此添加到您的问题中。
-
你有崩溃的堆栈跟踪吗?
-
@halfer 对不起...,下次我会在提出问题之前考虑所有这些因素。