fu.jin
fu.jin

Reputation: 3

react-native can't run correctly in android

I had trouble running react-native project in an android virtual device. When I make a react-native project with react-native init MyTest and thenreact-native run-android,but it shows a "red screen" in the AVD with a tips " 'View' has no propType for native prop 'RCTView.elevation' of native type 'number' ". Has anyone come across this issue? How can I do to solve this problem?here is the Snapshot of the "red screen"

Upvotes: 0

Views: 274

Answers (1)

samuel5
samuel5

Reputation: 196

I had the same problem. Got rid of it by upgrading react-native to the latest version (0.16.0, not the RC).

Upvotes: 1

Related Questions