react-native-media-kit icon indicating copy to clipboard operation
react-native-media-kit copied to clipboard

View has no propType for native prop RCTView.aspectRatio ofnative type number

Open banli17 opened this issue 7 years ago • 3 comments

hi, i react-native run-android, this is a error:

'View' has no propType for native prop 'RCTView.aspectRatio' of native type 'number' 
if you haven't changed this prop yourself, this usually means that your 
version of the native code and javascript code are out of sync。updating
 both should make this error go away。

my developement:

  • react-native: 0.40.0
  • react: 15.4.2
  • "react-native-media-kit": "git+https://github.com/ldn0x7dc/react-native-media-kit.git#pull/30/head"

i use react-native-media-kit like git+https://github.com/ldn0x7dc/react-native-media-kit.git#pull/30/head 。to solve Failing to compile on Android RN 0.32 #27。and this error has resolved。

below is my code

<Video
	style={{width: 300, height: 300}}
	src={'http://58.216.103.102/youku/69738D4088E4983EA1FDB45FA7/03002001005874498203872D9B7D2F00C119C6-100D-5BCC-7192-AACAD7DB8210.mp4?sid=8484091068195870954c8_00&ctype=87'}
	autoplay={false}
	preload={'none'}
	loop={false}
	controls={true}
	muted={false}
	poster={'http://ww2.sinaimg.cn/mw690/005BjCpAgw1fbmc5n74dxj30bn0godhm.jpg'}
			/>

please help me , thank you very much

banli17 avatar Jan 11 '17 01:01 banli17

Version: "react": "15.4.2","react-native": "0.40.0"

i got the same error when i run react-native init project with react-native run-ios ,anyone knows?

Xing-He avatar Jan 12 '17 02:01 Xing-He

i fix this error with react-native start

Xing-He avatar Jan 12 '17 02:01 Xing-He

Did you make sure another react package was running with different react native version? Try closing the existing react packager then rerun it.

melvynkim avatar Oct 19 '17 14:10 melvynkim