Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android 闪退问题 #35

Open
nanasheng opened this issue Mar 2, 2017 · 5 comments
Open

android 闪退问题 #35

nanasheng opened this issue Mar 2, 2017 · 5 comments

Comments

@nanasheng
Copy link

配置好了之后 项目是可以跑成功的 但是打开app出现闪退 ios没问题

@PatWu16
Copy link

PatWu16 commented Jun 8, 2017

@nanasheng 请问有解决吗?我也遇到这同样的问题

@jingxin2015
Copy link

@nanasheng 我也遇到了跟你一模一样的问题,项目启动后,能够看到启动图,启动图隐藏后,我的启动页面的内容显示了,之后就直接闪退,andrioid平台,请问解决了吗?

@budiga
Copy link

budiga commented Jul 16, 2017

@jingxin2015 我按照步骤设置之后,安卓启动后就报这个错:
undefined is not an object (evaluating '_reactNativeSplashScreen2.default.hide')
componentDidMount
root.js:32:21

ReactCompositeComponent.js:377:18
measureLifeCyclePerf
ReactCompositeComponent.js:63:11

ReactCompositeComponent.js:377:12
notifyAll
CallbackQueue.js:75:26
close
ReactNativeReconcileTransaction.js:36:4
closeAll
Transaction.js:223:29
perform
Transaction.js:165:24
batchedMountComponentIntoNode
ReactNativeMount.js:73:4
perform
Transaction.js:152:24
batchedUpdates
ReactDefaultBatchingStrategy.js:61:33
batchedUpdates
ReactUpdates.js:92:41
renderComponent
ReactNativeMount.js:149:6
render
ReactNativeStack.js:30:42
renderApplication
renderApplication.js:34:4
run
AppRegistry.js:119:10
runApplication
AppRegistry.js:196:26
__callFunction
MessageQueue.js:245:47

MessageQueue.js:101:26
__guard
MessageQueue.js:213:6
callFunctionReturnFlushedQueue
MessageQueue.js:100:17
是我哪里配置错了么?

@woshizhoujie
Copy link

launch_screen.xml配置了吗

@ramey502
Copy link

ramey502 commented Jan 3, 2018

you should make xml for launch_screen in android, it's path that android/app/src/main/res/layout/launch_screen.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants